Quantity Pricing By Variant User Error
Requires access scope. Also: The user must have permission to create and edit catalogs, and the shop requires B2B features enabled.
Error codes for failed volume pricing operations.
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
Updates quantity pricing on a price list. You can use the
mutation to set fixed prices, quantity rules, and quantity price breaks. This mutation does not allow partial successes. If any of the requested resources fail to update, none of the requested resources will be updated. Delete operations are executed before create operations.
- Anchor to inputinput•
The input data used to update the quantity pricing in the price list.
- Anchor to priceListIdprice•
List Id ID!required The ID of the price list for which quantity pricing will be updated.
Arguments
- Anchor to productVariantsproduct•
Variants The variants for which quantity pricing was created successfully in the price list.
- Anchor to userErrorsuser•
Errors The list of errors that occurred from executing the mutation.
Fields