Skip to main content
mutation

Requires write_products access scope. Also: The user must have permission to create and edit catalogs, and the shop requires B2B features enabled.

Creates or updates existing quantity rules on a price list. You can use the quantityRulesAdd mutation to set order level minimums, maximumums and increments for specific product variants.

•ID!required

The ID of the price list to which the quantity rules will be added or updated.

•[QuantityRuleInput!]!required

The list of quantity rules to add or update in the price list.


Was this section helpful?

Anchor to QuantityRulesAddPayload returnsQuantityRulesAddPayload returns

•[QuantityRule!]

The list of quantity rules that were added to or updated in the price list.

•[QuantityRuleUserError!]!non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?