--- title: PriceRuleFeature - GraphQL Admin description: The list of features that can be supported by a price rule. api_version: 2025-10 api_name: admin type: enum api_type: graphql source_url: html: https://shopify.dev/docs/api/admin-graphql/latest/enums/pricerulefeature md: https://shopify.dev/docs/api/admin-graphql/latest/enums/pricerulefeature.md --- # Price​Rule​Feature enum The list of features that can be supported by a price rule. ## Valid values * BULK The price rule supports bulk discounts. * BUY\_​ONE\_​GET\_​ONE The price rule supports Buy X, Get Y (BXGY) discounts. * BUY\_​ONE\_​GET\_​ONE\_​WITH\_​ALLOCATION\_​LIMIT The price rule supports Buy X, Get Y (BXGY) discounts that specify a custom allocation limit. * QUANTITY\_​DISCOUNTS The price rule supports discounts that require a quantity. * SPECIFIC\_​CUSTOMERS The price rule targets specific customers. *** ## Fields * [Price​Rule.features](https://shopify.dev/docs/api/admin-graphql/latest/objects/PriceRule#field-PriceRule.fields.features) 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](https://shopify.dev/docs/apps/selling-strategies/discounts/getting-started) instead. These will replace the GraphQL `PriceRule` object and REST Admin `PriceRule` and `DiscountCode` resources. *** ## Map ### Fields with this enum * <-|[Price​Rule.features](https://shopify.dev/docs/api/admin-graphql/latest/objects/PriceRule#field-PriceRule.fields.features)