Skip to main content
Log inSign up
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.

originalUnitPrice
non-null

The price of an individual item without any discounts applied. This value can't be negative.

quantity
non-null

The quantity of the custom item to add to the order. This value must be greater than zero.

title
non-null

The title of the custom item.

OBJECT

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

description
non-null

The description of the discount.

id
non-null

A globally-unique ID.

value
non-null

The pricing value of the discount.

OBJECT

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

phone

The phone number at the shipping address.

presentmentTitle

The shipping line's title that's shown to the buyer.

price
non-null

The price that applies to the shipping line.

title

The title of the shipping line.

OBJECT

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

quantity
non-null

The quantity of the product variant that was added.

variant
non-null

The product variant that was added.

OBJECT

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

delta
non-null

The number of items removed.

lineItem
non-null

The original line item.

restock
non-null

The intention to restock the removed items.

OBJECT

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

delta
non-null

The number of items added.

lineItem
non-null

The original line item.

OBJECT

A shipping line removed during an order edit.

shippingLine
non-null

The removed shipping line.


Was this section helpful?

Anchor to Fields with this unionFields with this union

OBJECT

A list of changes that affect this line item.

CONNECTION

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

CONNECTION

A list of nodes that are contained in OrderStagedChangeEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.

OBJECT

The item at the end of OrderStagedChangeEdge.


Was this section helpful?