Quantity Rule User Error
Requires access scope.
An error for a failed quantity rule operation.
Anchor to FieldsFields
- Anchor to codecode•Quantity
Rule User Error Code The error code.
- Anchor to fieldfield•[String!]
The path to the input field that caused the error.
- Anchor to messagemessage•String!non-null
The error message.
Anchor to MutationsMutations
- •mutation
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 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.
Arguments
- •mutation
Deletes specific quantity rules from a price list using a product variant ID. You can use the
mutation to delete a set of quantity rules from a price list.- Anchor to priceListIdprice•ID!
List Id required The ID of the price list from which the quantity rules will be deleted.
- Anchor to variantIdsvariant•[ID!]!
Ids required A list of product variant IDs whose quantity rules will be removed from the price list.
Arguments