Anchor to quantityRulesAddquantity
mutationquantity Rules Add
Requires 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 mutation to set order level minimums, maximumums and increments for specific product variants.
Anchor to Arguments
Arguments
- Anchor to priceListIdprice•ID!
List Id required The ID of the price list to which the quantity rules will be added or updated.
- Anchor to quantityRulesquantity•[Quantity
Rules Rule Input!]! required The list of quantity rules to add or update in the price list.
Was this section helpful?
- Anchor to quantityRulesquantity•[Quantity
Rules Rule!] The list of quantity rules that were added to or updated in the price list.
- Anchor to userErrorsuser•[Quantity
Errors Rule User Error!]! non-null The list of errors that occurred from executing the mutation.
Was this section helpful?