CalculatedDraftOrder object
The computed properties for a draft order.
Required access
read_draft_orders
access scope.
On this page
Fields
- appliedDiscount (
[DraftOrderAppliedDiscount](https://shopify.dev/docs/admin-api/graphql/reference/orders/draftorderapplieddiscount)
)
Order-level discount applied to the draft order. - availableShippingRates (
[[ShippingRate!]!](https://shopify.dev/docs/admin-api/graphql/reference/shipping-and-fulfillment/shippingrate)
)
The available shipping rates for the draft order. Requires a customer with a valid shipping address and at least one line item. - customer (
[Customer](https://shopify.dev/docs/admin-api/graphql/reference/customers/customer)
)
Customer who will be sent an invoice for the draft order, if there is one. - lineItems (
[[CalculatedDraftOrderLineItem!]!](https://shopify.dev/docs/admin-api/graphql/reference/orders/calculateddraftorderlineitem)
)
Line items in the draft order with their computed properties. - shippingLine (
[ShippingLine](https://shopify.dev/docs/admin-api/graphql/reference/orders/shippingline)
)
Line item that contains the shipping costs. - subtotalPrice (
[Money!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#money-2021-01)
)
Subtotal of the line items and their discounts (does not contain shipping charges or shipping discounts, or taxes). - taxLines (
[[TaxLine!]!](https://shopify.dev/docs/admin-api/graphql/reference/orders/taxline)
)
Total amount of taxes charged for each line item and shipping line. - totalPrice (
[Money!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#money-2021-01)
)
Total amount of the draft order (includes taxes, shipping charges, and discounts). - totalShippingPrice (
[Money!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#money-2021-01)
)
Total shipping charge for the draft order. - totalTax (
[Money!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#money-2021-01)
)
Total amount of taxes for the draft order.