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 price list. You can use the quantityPricingByVariantUpdate 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.

Arguments

•QuantityPricingByVariantUpdateInput!required

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

•ID!required

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


Fields

•[ProductVariant!]

The variants for which quantity pricing was created successfully in the price list.

•[QuantityPricingByVariantUserError!]!non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?


Was this section helpful?
OSZAR »