CalculatedDraftOrder object
The computed properties for a draft order.
Required access
read_draft_orders
access scope.
On this page
Fields
-
appliedDiscount (
DraftOrderAppliedDiscount
)Order-level discount applied to the draft order.
-
availableShippingRates (
[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
)Customer who will be sent an invoice for the draft order, if there is one.
-
lineItems (
[CalculatedDraftOrderLineItem!]!
)Line items in the draft order with their computed properties.
-
shippingLine (
ShippingLine
)Line item that contains the shipping costs.
-
subtotalPrice (
Money!
)Subtotal of the line items and their discounts (does not contain shipping charges or shipping discounts, or taxes).
-
taxLines (
[TaxLine!]!
)Total amount of taxes charged for each line item and shipping line.
-
totalPrice (
Money!
)Total amount of the draft order (includes taxes, shipping charges, and discounts).
-
totalShippingPrice (
Money!
)Total shipping charge for the draft order.
-
totalTax (
Money!
)Total amount of taxes for the draft order.
The computed properties for a draft order.
Required access
read_draft_orders
access scope.
On this page
Fields
-
appliedDiscount (
DraftOrderAppliedDiscount
)Order-level discount applied to the draft order.
-
availableShippingRates (
[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
)Customer who will be sent an invoice for the draft order, if there is one.
-
lineItems (
[CalculatedDraftOrderLineItem!]!
)Line items in the draft order with their computed properties.
-
shippingLine (
ShippingLine
)Line item that contains the shipping costs.
-
subtotalPrice (
Money!
)Subtotal of the line items and their discounts (does not contain shipping charges or shipping discounts, or taxes).
-
taxLines (
[TaxLine!]!
)Total amount of taxes charged for each line item and shipping line.
-
totalPrice (
Money!
)Total amount of the draft order (includes taxes, shipping charges, and discounts).
-
totalShippingPrice (
Money!
)Total shipping charge for the draft order.
-
totalTax (
Money!
)Total amount of taxes for the draft order.
The computed properties for a draft order.
Required access
read_draft_orders
access scope.
On this page
Fields
-
appliedDiscount (
DraftOrderAppliedDiscount
)Order-level discount applied to the draft order.
-
availableShippingRates (
[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
)Customer who will be sent an invoice for the draft order, if there is one.
-
lineItems (
[CalculatedDraftOrderLineItem!]!
)Line items in the draft order with their computed properties.
-
shippingLine (
ShippingLine
)Line item that contains the shipping costs.
-
subtotalPrice (
Money!
)Subtotal of the line items and their discounts (does not contain shipping charges or shipping discounts, or taxes).
-
taxLines (
[TaxLine!]!
)Total amount of taxes charged for each line item and shipping line.
-
totalPrice (
Money!
)Total amount of the draft order (includes taxes, shipping charges, and discounts).
-
totalShippingPrice (
Money!
)Total shipping charge for the draft order.
-
totalTax (
Money!
)Total amount of taxes for the draft order.
The computed properties for a draft order.
Required access
read_draft_orders
access scope.
On this page
Fields
-
appliedDiscount (
DraftOrderAppliedDiscount
)Order-level discount applied to the draft order.
-
availableShippingRates (
[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
)Customer who will be sent an invoice for the draft order, if there is one.
-
lineItems (
[CalculatedDraftOrderLineItem!]!
)Line items in the draft order with their computed properties.
-
shippingLine (
ShippingLine
)Line item that contains the shipping costs.
-
subtotalPrice (
Money!
)Subtotal of the line items and their discounts (does not contain shipping charges or shipping discounts, or taxes).
-
taxLines (
[TaxLine!]!
)Total amount of taxes charged for each line item and shipping line.
-
totalPrice (
Money!
)Total amount of the draft order (includes taxes, shipping charges, and discounts).
-
totalShippingPrice (
Money!
)Total shipping charge for the draft order.
-
totalTax (
Money!
)Total amount of taxes for the draft order.
The computed properties for a draft order.
Required access
read_draft_orders
access scope.
On this page
Fields
-
appliedDiscount (
DraftOrderAppliedDiscount
)Order-level discount applied to the draft order.
-
availableShippingRates (
[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
)Customer who will be sent an invoice for the draft order, if there is one.
-
lineItems (
[CalculatedDraftOrderLineItem!]!
)Line items in the draft order with their computed properties.
-
shippingLine (
ShippingLine
)Line item that contains the shipping costs.
-
subtotalPrice (
Money!
)Subtotal of the line items and their discounts (does not contain shipping charges or shipping discounts, or taxes).
-
taxLines (
[TaxLine!]!
)Total amount of taxes charged for each line item and shipping line.
-
totalPrice (
Money!
)Total amount of the draft order (includes taxes, shipping charges, and discounts).
-
totalShippingPrice (
Money!
)Total shipping charge for the draft order.
-
totalTax (
Money!
)Total amount of taxes for the draft order.
The computed properties for a draft order.
Required access
read_draft_orders
access scope.
On this page
Fields
-
appliedDiscount (
DraftOrderAppliedDiscount
)Order-level discount applied to the draft order.
-
availableShippingRates (
[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
)Customer who will be sent an invoice for the draft order, if there is one.
-
lineItems (
[CalculatedDraftOrderLineItem!]!
)Line items in the draft order with their computed properties.
-
shippingLine (
ShippingLine
)Line item that contains the shipping costs.
-
subtotalPrice (
Money!
)Subtotal of the line items and their discounts (does not contain shipping charges or shipping discounts, or taxes).
-
taxLines (
[TaxLine!]!
)Total amount of taxes charged for each line item and shipping line.
-
totalPrice (
Money!
)Total amount of the draft order (includes taxes, shipping charges, and discounts).
-
totalShippingPrice (
Money!
)Total shipping charge for the draft order.
-
totalTax (
Money!
)Total amount of taxes for the draft order.
The computed properties for a draft order.
Required access
read_draft_orders
access scope.
On this page
Fields
-
appliedDiscount (
DraftOrderAppliedDiscount
)Order-level discount applied to the draft order.
-
availableShippingRates (
[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
)Customer who will be sent an invoice for the draft order, if there is one.
-
lineItems (
[CalculatedDraftOrderLineItem!]!
)Line items in the draft order with their computed properties.
-
shippingLine (
ShippingLine
)Line item that contains the shipping costs.
-
subtotalPrice (
Money!
)Subtotal of the line items and their discounts (does not contain shipping charges or shipping discounts, or taxes).
-
taxLines (
[TaxLine!]!
)Total amount of taxes charged for each line item and shipping line.
-
totalPrice (
Money!
)Total amount of the draft order (includes taxes, shipping charges, and discounts).
-
totalShippingPrice (
Money!
)Total shipping charge for the draft order.
-
totalTax (
Money!
)Total amount of taxes for the draft order.
The computed properties for a draft order.
Required access
read_draft_orders
access scope.
On this page
Fields
-
appliedDiscount (
DraftOrderAppliedDiscount
)Order-level discount applied to the draft order.
-
availableShippingRates (
[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
)Customer who will be sent an invoice for the draft order, if there is one.
-
lineItems (
[CalculatedDraftOrderLineItem!]!
)Line items in the draft order with their computed properties.
-
shippingLine (
ShippingLine
)Line item that contains the shipping costs.
-
subtotalPrice (
Money!
)Subtotal of the line items and their discounts (does not contain shipping charges or shipping discounts, or taxes).
-
taxLines (
[TaxLine!]!
)Total amount of taxes charged for each line item and shipping line.
-
totalPrice (
Money!
)Total amount of the draft order (includes taxes, shipping charges, and discounts).
-
totalShippingPrice (
Money!
)Total shipping charge for the draft order.
-
totalTax (
Money!
)Total amount of taxes for the draft order.
The computed properties for a draft order.
Required access
read_draft_orders
access scope.
On this page
Fields
-
appliedDiscount (
DraftOrderAppliedDiscount
)Order-level discount applied to the draft order.
-
availableShippingRates (
[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
)Customer who will be sent an invoice for the draft order, if there is one.
-
lineItems (
[CalculatedDraftOrderLineItem!]!
)Line items in the draft order with their computed properties.
-
shippingLine (
ShippingLine
)Line item that contains the shipping costs.
-
subtotalPrice (
Money!
)Subtotal of the line items and their discounts (does not contain shipping charges or shipping discounts, or taxes).
-
taxLines (
[TaxLine!]!
)Total amount of taxes charged for each line item and shipping line.
-
totalPrice (
Money!
)Total amount of the draft order (includes taxes, shipping charges, and discounts).
-
totalShippingPrice (
Money!
)Total shipping charge for the draft order.
-
totalTax (
Money!
)Total amount of taxes for the draft order.
The computed properties for a draft order.
Required access
read_draft_orders
access scope.
On this page
Fields
-
appliedDiscount (
DraftOrderAppliedDiscount
)Order-level discount applied to the draft order.
-
availableShippingRates (
[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
)Customer who will be sent an invoice for the draft order, if there is one.
-
lineItems (
[CalculatedDraftOrderLineItem!]!
)Line items in the draft order with their computed properties.
-
shippingLine (
ShippingLine
)Line item that contains the shipping costs.
-
subtotalPrice (
Money!
)Subtotal of the line items and their discounts (does not contain shipping charges or shipping discounts, or taxes).
-
taxLines (
[TaxLine!]!
)Total amount of taxes charged for each line item and shipping line.
-
totalPrice (
Money!
)Total amount of the draft order (includes taxes, shipping charges, and discounts).
-
totalShippingPrice (
Money!
)Total shipping charge for the draft order.
-
totalTax (
Money!
)Total amount of taxes for the draft order.