Home > @infiniteobjects/shopify-data-manager > AdminTypes > DraftOrderEventsArgs
An order that a merchant creates on behalf of a customer. Draft orders are useful for merchants that need to do the following tasks:
For Draft orders in multiple currencies presentment_money
is the source of truth for what a customer is going to be charged and shop_money
is an estimate of what the merchant might receive in their local currency.
**Caution:** Only use this data if it’s required for your app’s functionality. Shopify will restrict [access to scopes](https://shopify.dev/api/usage/access-scopes) for apps that don’t have a legitimate use for the associated data.
Signature:
export interface DraftOrderEventsArgs
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) |