---
title: Manage quantity rules for B2B customers - Shopify developer changelog
description: >-
  Shopify’s developer changelog documents all changes to Shopify’s platform.
  Find the latest news and learn about new platform opportunities.
source_url:
  html: 'https://shopify.dev/changelog/manage-quantity-rules-for-b2b-customers'
  md: 'https://shopify.dev/changelog/manage-quantity-rules-for-b2b-customers.md'
metadata:
  effectiveApiVersion: 2023-07
  affectedApi: []
  primaryTag:
    displayName: API
    handle: api
  secondaryTag:
    displayName: New
    handle: new
  indicatesActionRequired: false
  createdAt: '2023-05-25T08:02:29-04:00'
  postedAt: '2023-06-30T00:00:00-04:00'
  updatedAt: '2024-12-13T17:24:38-05:00'
  effectiveAt: '2023-06-30T00:00:00-04:00'
---

June 30, 2023

Tags:

* API
* 2023-07

# Manage quantity rules for B2B customers

As of the `2023-07` version of the Admin GraphQL API, you can use the `quantityRulesAdd` and `quantityRulesDelete` mutations to manage product variant minimums, maximums and increments for B2B customers. Use the `quantityRules` field on [ProductVariantContextualPricing](https://shopify.dev/docs/api/admin-graphql/2023-07/objects/ProductVariantContextualPricing) to view the quantity rules applied for the `companyLocationId` input.

Learn more about the Quantity Rules API on [Shopify.dev](https://shopify.dev/docs/api/admin-graphql/2023-07/objects/QuantityRule).
