Skip to main content
Log inSign up
queryDeprecated

Returns a code price rule resource by ID. Use codeDiscountNode instead.

•
ID!required

The ID of the PriceRule to return.


Was this section helpful?

•

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?