Home > @infiniteobjects/shopify-data-manager > AdminTypes > ExchangeV2
An exchange where existing items on an order are returned and new items are added to the order.
Signature:
export interface ExchangeV2 extends Node
Extends: Node
| Property | Modifiers | Type | Description |
|---|---|---|---|
| additions | ExchangeV2Additions | The details of the new items in the exchange. | |
| completedAt? | Maybe<Scalars[‘DateTime’][‘output’]> | (Optional) The date and time when the exchange was completed. | |
| createdAt | Scalars[‘DateTime’][‘output’] | The date and time when the exchange was created. | |
| id | Scalars[‘ID’][‘output’] | A globally-unique ID. | |
| location? | Maybe<Location> | (Optional) The location where the exchange happened. | |
| note? | Maybe<Scalars[‘String’][‘output’]> | (Optional) The text of an optional note that a shop owner can attach to the exchange. | |
| refunds | Array<Refund> | The refunds processed during the exchange. | |
| returns | ExchangeV2Returns | The details of the returned items in the exchange. | |
| staffMember? | Maybe<StaffMember> | (Optional) The staff member associated with the exchange. | |
| totalAmountProcessedSet | MoneyBag | The amount of money that was paid or refunded as part of the exchange. | |
| totalPriceSet | MoneyBag | The difference in values of the items that were exchanged. | |
| transactions | Array<OrderTransaction> | The order transactions related to the exchange. |