A draft order for the customer. Any fields related to money are in the presentment currency. Apps using the Customer Account API must meet the protected customer data [requirements](https://shopify.dev/docs/apps/launch/protected-customer-data).
Access Scopes
Fields
amountDueLater:
MoneyV2! -
The amount due later.
When there are payment terms, this is the total price minus the deposit amount (if any).
When there are no payment terms, this is 0.
amountDueNow:
MoneyV2! -
The amount due now.
When there are payment terms this is the value of the deposit (0 by default).
When there are no payment terms, this is the total price.
billingAddress:
CustomerAddress -
The billing address of the customer.
createdAt:
DateTime! -
The date and time when the draft order was created in Shopify.
currencyCode:
CurrencyCode! -
The three-letter code for the currency of the store at the time that the invoice is sent.
customer:
Customer -
The customer who placed the order.
deposit:
DepositConfiguration -
The portion required to be paid at checkout.
discountInformation:
DraftOrderDiscountInformation! -
The discount information for the draft order.
email:
String -
The email address of the customer, which is used to send notifications to.
draftOrder
Returns a draft order resource by ID. Apps using the Customer Account API must meet the protected customer data [requirements](https://shopify.dev/docs/apps/launch/protected-customer-data).