Skip to main content
Log inSign up

Shopify uses cookies to provide necessary site functionality and improve your experience. By using our website, you agree to our privacy policy and our cookie policy.

object

Requires read_order_edits access scope.

An order with edits applied but not saved.

Anchor to Fields and connectionsFields and connections

Anchor to addedDiscountApplicationsaddedDiscountApplications
•

Returns only the new discount applications being added to the order in the current edit.

•

Returns only the new line items being added to the order during the current edit.

Anchor to cartDiscountAmountSetcartDiscountAmountSet
•

Amount of the order-level discount (doesn't contain any line item discounts) in shop and presentment currencies.

•
ID!non-null

A globally-unique ID.

•

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.

Anchor to notificationPreviewHtmlnotificationPreviewHtml
•

The HTML of the customer notification for the order edit.

Anchor to notificationPreviewTitlenotificationPreviewTitle
•
String!non-null

The customer notification title.

•
Order!non-null

The order without any changes applied.

•

Returns the shipping lines on the order that existed before starting the edit. Will include any changes that have been made as well as shipping lines added during the current edit. Returns only the first 250 shipping lines.

•

List of changes made to the order during the current edit.

Anchor to subtotalLineItemsQuantitysubtotalLineItemsQuantity
•
Int!non-null

The sum of the quantities for the line items that contribute to the order's subtotal.

•

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.

•
[TaxLine!]!non-null

Taxes charged for the line item.

•
MoneyBag!non-null

Total price of the order less the total amount received from the customer in shop and presentment currencies.

•
MoneyBag!non-null

Total amount of the order (includes taxes and discounts) in shop and presentment currencies.

Show
deprecated fields and connections Deprecated
•
Boolean!non-nullDeprecated

Whether the changes have been applied and saved to the order. CalculatedOrder for committed order edits is being deprecated, and this field will also be removed in a future version. See changelog for more details.

•
Order!non-nullDeprecated

The order without any changes applied. Use originalOrder instead.


Was this section helpful?

•
mutation

Adds a custom line item to an existing order. For example, you could add a gift wrapping service as a custom line item. To learn how to edit existing orders, refer to Edit an existing order with Admin API.

•
mutation

Adds a discount to a line item on the current order edit. For more information on how to use the GraphQL Admin API to edit an existing order, refer to Edit existing orders.

•
mutation

Adds a shipping line to an existing order. For more information on how to use the GraphQL Admin API to edit an existing order, refer to Edit existing orders.

•
mutation

Adds a line item from an existing product variant. As of API version 2025-04, the orderEditAddVariant API will respect the contextual pricing of the variant.

•
mutation

Starts editing an order. Mutations are operating on OrderEdit. All order edits start with orderEditBegin, have any number of orderEdit* mutations made, and end with orderEditCommit.

•
mutation

Removes a discount on the current order edit. For more information on how to use the GraphQL Admin API to edit an existing order, refer to Edit existing orders.

•
mutation

Removes a shipping line from an existing order. For more information on how to use the GraphQL Admin API to edit an existing order, refer to Edit existing orders.

•
mutation

Sets the quantity of a line item on an order that is being edited. For more information on how to use the GraphQL Admin API to edit an existing order, refer to Edit existing orders.

•
mutation

Updates a manual line level discount on the current order edit. For more information on how to use the GraphQL Admin API to edit an existing order, refer to Edit existing orders.

•
mutation

Updates a shipping line on the current order edit. For more information on how to use the GraphQL Admin API to edit an existing order, refer to Edit existing orders.

•
mutationDeprecated

Removes a line item discount that was applied as part of an order edit. Use orderEditRemoveDiscount instead.


Was this section helpful?

•
interface

Was this section helpful?