Skip to main content
object

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.

Anchor to Fields and connectionsFields and connections

•CustomerAddress

The billing address of the customer.

•DateTime!
non-null

The date and time when the draft order was created in Shopify.

•CurrencyCode!
non-null

The three-letter code for the currency of the store at the time that the invoice is sent.

•Customer

The customer who placed the order.

•DraftOrderDiscountInformation!
non-null

The discount information for the draft order.

•String

The email address of the customer, which is used to send notifications to.

•ID!

A globally-unique ID.

•Boolean!
non-null

Whether the draft order is created from the online store and is open.

•URL

The link to the checkout, which is sent to the customer in the invoice email.

•DraftOrderLineItemConnection!
non-null

The list of the line items in the draft order.

•DraftOrderLineItemsSummary

The summary of draft order line items quantity.

•String!

The unique identifier for the draft order, which is unique within the store. For example, #D1223.

•Order

The order that was created from this draft order.

•String

The phone number assigned to the draft order.

•PurchasingEntity

The purchasing entity for the draft order.

•Boolean!
non-null

Whether the draft order requires shipping or not.

•CustomerAddress

The shipping address of the customer.

•DraftOrderStatus!
non-null

The status of the draft order.

•MoneyV2!
non-null

The subtotal of the line items (doesn't include shipping charges, shipping discounts, or taxes).

•Boolean!
non-null

Whether the line item prices include taxes.

•Boolean!
non-null

Indicates whether the draft order is tax exempt.

•MoneyV2!
non-null

The total price of line items for this draft order.

•MoneyV2!
non-null

The total amount of the draft order (includes taxes, shipping charges, and discounts).

•MoneyV2!
non-null

The total shipping charge for the draft order.

•MoneyV2!
non-null

The total amount of taxes for the draft order.

•UnsignedInt64!
non-null

The total weight (in grams) of the draft order.

•DateTime!
non-null

The date and time when the draft order was last changed. The format is YYYY-MM-DD HH:mm:ss (for example, 2016-02-05 17:04:01).


Was this section helpful?

•query

Returns a draft order resource by ID. Apps using the Customer Account API must meet the protected customer data requirements.


Was this section helpful?

•interface

Was this section helpful?