Quantity Rule User Error
Requires access scope.
An error for a failed quantity rule operation.
Anchor to FieldsFields
- Anchor to codecode•
The error code.
- Anchor to fieldfield•
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•
List Id ID!required The ID of the price list to which the quantity rules will be added or updated.
- Anchor to quantityRulesquantity•
Rules [QuantityRule Input!]!required The list of quantity rules to add or update in the price list.
Arguments
- Anchor to quantityRulesquantity•
Rules The list of quantity rules that were added to or updated in the price list.
- Anchor to userErrorsuser•
Errors [QuantityRule 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•
List Id ID!required The ID of the price list from which the quantity rules will be deleted.
- Anchor to variantIdsvariant•
Ids [ID!]!required A list of product variant IDs whose quantity rules will be removed from the price list.
Arguments
- Anchor to deletedQuantityRulesVariantIdsdeleted•
Quantity Rules Variant Ids A list of product variant IDs whose quantity rules were removed from the price list.
- Anchor to userErrorsuser•
Errors [QuantityRule User Error!]!non-null The list of errors that occurred from executing the mutation.
Fields