stack

Home > @infiniteobjects/shopify-data-manager > AdminTypes > PriceRuleEventsArgs

AdminTypes.PriceRuleEventsArgs interface

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.

Signature:

export interface PriceRuleEventsArgs 

Properties

Property Modifiers Type Description
after?   InputMaybe<Scalars[‘String’][‘input’]> (Optional)
before?   InputMaybe<Scalars[‘String’][‘input’]> (Optional)
first?   InputMaybe<Scalars[‘Int’][‘input’]> (Optional)
last?   InputMaybe<Scalars[‘Int’][‘input’]> (Optional)
query?   InputMaybe<Scalars[‘String’][‘input’]> (Optional)
reverse?   InputMaybe<Scalars[‘Boolean’][‘input’]> (Optional)
sortKey?   InputMaybe<EventSortKeys> (Optional)