Skip to main content
Anchor to QuantityRuleUserError

QuantityRuleUserError

object

Requires read_products access scope.

An error for a failed quantity rule operation.

•

The error code.

•

The path to the input field that caused the error.

•
String!non-null

The error message.


Was this section helpful?

•
mutation

Creates or updates existing quantity rules on a price list. You can use the quantityRulesAdd mutation to set order level minimums, maximumums and increments for specific product variants.

Arguments

•
ID!required

The ID of the price list to which the quantity rules will be added or updated.

•

The list of quantity rules to add or update in the price list.


Fields

•

The list of quantity rules that were added to or updated in the price list.

•

The list of errors that occurred from executing the mutation.

•
mutation

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.

Arguments

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


Fields

Anchor to deletedQuantityRulesVariantIdsdeletedQuantityRulesVariantIds
•

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

•

The list of errors that occurred from executing the mutation.


Was this section helpful?


Was this section helpful?