Anchor to PriceRuleFeaturePrice
enumPrice Rule Feature
The list of features that can be supported by a price rule.
Anchor to Valid valuesValid values
- Anchor to BULKBULK
The price rule supports bulk discounts.
- Anchor to BUY_ONE_GET_ONEBUY_
ONE_ GET_ ONE 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.
- Anchor to QUANTITY_DISCOUNTSQUANTITY_
DISCOUNTS The price rule supports discounts that require a quantity.
- Anchor to SPECIFIC_CUSTOMERSSPECIFIC_
CUSTOMERS The price rule targets specific customers.
Was this section helpful?
Anchor to FieldsFields
- •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
object and REST Admin
and
resources.
Was this section helpful?