Skip to main content
query
Deprecated. Use codeDiscountNode instead. This will be removed in 2024-10.

Returns a code price rule resource by ID.

•ID!
required

The ID of the PriceRule to return.


Was this section helpful?

•PriceRule

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?
OSZAR »