Skip to main content
Anchor to QuantityPricingByVariantUserError

QuantityPricingByVariantUserError

object

Requires read_products 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.

•QuantityPricingByVariantUserErrorCode

The error code.

•[String!]

The path to the input field that caused the error.

•String!
non-null

The error message.


Was this section helpful?

•mutation

Updates quantity pricing on a PriceList for specific ProductVariant objects. You can set fixed prices (see PriceListPrice), quantity rules, and quantity price breaks in a single operation.

QuantityRule objects define minimum, maximum, and increment constraints for ordering. QuantityPriceBreak objects offer tiered pricing based on purchase volume.

The mutation executes delete operations before create operations and doesn't allow partial updates.


Note

If any requested change fails, then the mutation doesn't apply any of the changes.


Arguments

•ID!
required

The ID of the price list for which quantity pricing will be updated.

•QuantityPricingByVariantUpdateInput!
required

The input data used to update the quantity pricing in the price list.



Was this section helpful?


Was this section helpful?