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!required
List Id 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
- 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.
Fields
- •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!required
List Id The ID of the price list from which the quantity rules will be deleted.
- Anchor to variantIdsvariant•[ID!]!required
Ids A list of product variant IDs whose quantity rules will be removed from the price list.
Arguments
- Anchor to deletedQuantityRulesVariantIdsdeleted•[ID!]
Quantity Rules Variant Ids A list of product variant IDs whose quantity rules were removed from the price list.
- Anchor to userErrorsuser•[Quantity
Errors Rule User Error!]!non-null The list of errors that occurred from executing the mutation.
Fields