Anchor to quantityPricingByVariantUpdatequantity
mutationquantity Pricing By Variant Update
Requires 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 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.
Anchor to Arguments
Arguments
- Anchor to inputinput•Quantity
Pricing By Variant Update Input! required The input data used to update the quantity pricing in the price list.
- Anchor to priceListIdprice•ID!
List Id required The ID of the price list for which quantity pricing will be updated.
Was this section helpful?
Anchor to QuantityPricingByVariantUpdatePayload returnsQuantity Pricing By Variant Update Payload returns
- Anchor to productVariantsproduct•[Product
Variants Variant!] The variants for which quantity pricing was created successfully in the price list.
- Anchor to userErrorsuser•[Quantity
Errors Pricing By Variant User Error!]! non-null The list of errors that occurred from executing the mutation.
Was this section helpful?