Skip to main content
mutation

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

Deletes specific quantity rules from a price list using a product variant ID. You can use the quantityRulesDelete mutation to delete a set of quantity rules from a price list.

ID!
required

The ID of the price list from which the quantity rules will be deleted.

[ID!]!
required

A list of product variant IDs whose quantity rules will be removed from the price list.


Was this section helpful?

Anchor to QuantityRulesDeletePayload returnsQuantityRulesDeletePayload returns

Anchor to deletedQuantityRulesVariantIdsdeletedQuantityRulesVariantIds
[ID!]

A list of product variant IDs whose quantity rules were removed from the price list.

[QuantityRuleUserError!]!
non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?