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•Quantity
Pricing By Variant 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
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•Quantity
Pricing By Variant Update Input!required The input data used to update the quantity pricing in the price list.
- Anchor to priceListIdprice•ID!required
List Id The ID of the price list for which quantity pricing will be updated.
Arguments
- Anchor to productVariantsproduct•[Product
Variants Variant!] The variants for which quantity pricing was created successfully in the price list.
- Anchor to userErrorsuser•[Quantity
Errors Pricing By Variant User Error!]!non-null The list of errors that occurred from executing the mutation.
Fields