Home > @infiniteobjects/shopify-data-manager > AdminTypes > CalculatedOrder
An order with edits applied but not saved.
Signature:
export interface CalculatedOrder extends Node
Extends: Node
Property | Modifiers | Type | Description |
---|---|---|---|
addedDiscountApplications | CalculatedDiscountApplicationConnection | Returns only the new discount applications being added to the order in the current edit. | |
addedLineItems | CalculatedLineItemConnection | Returns only the new line items being added to the order during the current edit. | |
cartDiscountAmountSet? | Maybe<MoneyBag> | (Optional) Amount of the order-level discount (doesn’t contain any line item discounts) in shop and presentment currencies. | |
committed | Scalars[‘Boolean’][‘output’] | Whether the changes have been applied and saved to the order. | |
id | Scalars[‘ID’][‘output’] | A globally-unique ID. | |
lineItems | CalculatedLineItemConnection | Returns all items on the order that existed before starting the edit. Will include any changes that have been made. Will not include line items added during the current edit. | |
notificationPreviewHtml? | Maybe<Scalars[‘HTML’][‘output’]> | (Optional) The HTML of the customer notification for the order edit. | |
notificationPreviewTitle | Scalars[‘String’][‘output’] | The customer notification title. | |
order | Order | The order without any changes applied. | |
originalOrder | Order | The order without any changes applied. | |
stagedChanges | OrderStagedChangeConnection | List of changes made to the order during the current edit. | |
subtotalLineItemsQuantity | Scalars[‘Int’][‘output’] | The sum of the quantities for the line items that contribute to the order’s subtotal. | |
subtotalPriceSet? | Maybe<MoneyBag> | (Optional) The subtotal of the line items, in shop and presentment currencies, after all the discounts are applied. The subtotal doesn’t include shipping. The subtotal includes taxes for taxes-included orders and excludes taxes for taxes-excluded orders. | |
taxLines | Array<TaxLine> | Taxes charged for the line item. | |
totalOutstandingSet | MoneyBag | Total price of the order less the total amount received from the customer in shop and presentment currencies. | |
totalPriceSet | MoneyBag | Total amount of the order (includes taxes and discounts) in shop and presentment currencies. |