Back to Developer changelog

Manage quantity rules for B2B customers

API

Effective June 30, 2023

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.