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
- code (QuantityPricingByVariantUserErrorCode)
- field ([String!])
- message (String!)
- 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
- quantityPricingByVariantUpdate (QuantityPricingByVariantUpdatePayload)
- •mutation
Updates quantity pricing on a
for specificobjects. You can set fixed prices (see), quantity rules, and quantity price breaks in a single operation.objects define minimum, maximum, and increment constraints for ordering.objects offer tiered pricing based on purchase volume.The mutation executes delete operations before create operations and doesn't allow partial updates.
NoteIf any requested change fails, then the mutation doesn't apply any of the changes.
Note:If any requested change fails, then the mutation doesn't apply any of the changes.
Note: If any requested change fails, then the mutation doesn't apply any of the changes.
- Anchor to priceListIdprice•ID!
List Id required The ID of the price list for which quantity pricing will be updated.
- Anchor to inputinput•Quantity
Pricing By Variant Update Input! required The input data used to update the quantity pricing in the price list.
Arguments