Skip to main content
union

Requires read_order_edits access scope.

A change that has been applied to an order.

•OBJECT

A change to the order representing the addition of a custom line item. For example, you might want to add gift wrapping service as a custom line item.

Show fields
•OBJECT

The discount applied to an item that was added during the current order edit.

Show fields
•OBJECT

A new shipping line added as part of an order edit.

Show fields
•OBJECT

A change to the order representing the addition of an existing product variant.

Show fields
•OBJECT

An removal of items from an existing line item on the order.

Show fields
•OBJECT

An addition of items to an existing line item on the order.

Show fields
•OBJECT

A discount application removed during an order edit.

Show fields
•OBJECT

A shipping line removed during an order edit.

Show fields

Was this section helpful?

Anchor to Fields with this unionFields with this union

•OBJECT

A line item involved in order editing that may be newly added or have new changes applied.

•OBJECT

An order during an active edit session with all proposed changes applied but not yet committed. When you begin editing an order with the orderEditBegin mutation, the system creates a CalculatedOrder that shows how the Order will look after your changes. The calculated order tracks the original order state and all staged modifications (added or removed LineItem objects, quantity adjustments, discount changes, and ShippingLine updates). Use the calculated order to preview the financial impact of edits before committing them with the orderEditCommit mutation.

Learn more about editing existing orders.

•CONNECTION

An auto-generated type for paginating through multiple OrderStagedChanges.

•OBJECT

An auto-generated type which holds one OrderStagedChange and a cursor during pagination.


Was this section helpful?