Skip to main content
object

Requires unauthenticated_read_product_listings access scope.

The quantity rule for the product variant in a given context.

•Int!
non-null

The value that specifies the quantity increment between minimum and maximum of the rule. Only quantities divisible by this value will be considered valid.

The increment must be lower than or equal to the minimum and the maximum, and both minimum and maximum must be divisible by this value.

•Int

An optional value that defines the highest allowed quantity purchased by the customer. If defined, maximum must be lower than or equal to the minimum and must be a multiple of the increment.

•Int!
non-null

The value that defines the lowest allowed quantity purchased by the customer. The minimum must be a multiple of the quantity rule's increment.


Was this section helpful?