Skip to main content
enum

The list of features that can be supported by a price rule.

The price rule supports bulk discounts.

The price rule supports Buy X, Get Y (BXGY) discounts.

Anchor to BUY_ONE_GET_ONE_WITH_ALLOCATION_LIMITBUY_ONE_GET_ONE_WITH_ALLOCATION_LIMIT

The price rule supports Buy X, Get Y (BXGY) discounts that specify a custom allocation limit.

The price rule supports discounts that require a quantity.

The price rule targets specific customers.


Was this section helpful?

•OBJECT

Price rules are a set of conditions, including entitlements and prerequisites, that must be met in order for a discount code to apply.

We recommend using the types and queries detailed at Getting started with discounts instead. These will replace the GraphQL PriceRule object and REST Admin PriceRule and DiscountCode resources.


Was this section helpful?