Skip to main content
Anchor to QuantityPricingByVariantUpdatePayload

QuantityPricingByVariantUpdatePayload

payload

Return type for quantityPricingByVariantUpdate mutation.

•[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?

Anchor to Mutations with this payloadMutations with this payload

•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?