--- 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 --- [Back to Developer changelog](https://shopify.dev/changelog) 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).