Skip to main content
Log inSign up

Shopify uses cookies to provide necessary site functionality and improve your experience. By using our website, you agree to our privacy policy and our cookie policy.

Anchor to quantityPricingByVariantUpdate

quantityPricingByVariantUpdate

mutation

Requires write_products access scope. Also: The user must have permission to create and edit catalogs, and the shop requires B2B features enabled.

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.

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.


Was this section helpful?

Anchor to QuantityPricingByVariantUpdatePayload returnsQuantityPricingByVariantUpdatePayload returns

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

The list of errors that occurred from executing the mutation.


Was this section helpful?