---
title: PriceRuleFeature - GraphQL Admin
description: The list of features that can be supported by a price rule.
api_version: 2026-01
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'
---
# PriceRuleFeature
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
* [PriceRule.features](https://shopify.dev/docs/api/admin-graphql/latest/objects/PriceRule#field-PriceRule.fields.features)
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 \\\Price\Rule\\\ object and \\\Discount\Code\\\ union, and the REST Admin API\'s deprecated\\\Price\Rule\\\ resource.
***
***
## Map
### Fields with this enum
* [PriceRule.features](https://shopify.dev/docs/api/admin-graphql/latest/objects/PriceRule#field-PriceRule.fields.features)