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

A set of conditions, including entitlements and prerequisites, that must be met for a discount code to apply.


Note

Use the types and queries included our discount tutorials instead. These will replace the GraphQL Admin API's PriceRule object and DiscountCode union, and the REST Admin API's deprecatedPriceRule resource.



Was this section helpful?