Developer changelog

Subscribe to the changelog to stay up to date on recent changes to Shopify’s APIs and other developer products, as well as preview upcoming features and beta releases.

Get updates by RSS

Manage quantity rules for B2B customers

API

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 to view the quantity rules applied for the companyLocationId input.

Learn more about the Quantity Rules API on Shopify.dev.