Exchange V2
Requires access scope. Also: You must have permissions for orders and .
An exchange where existing items on an order are returned and new items are added to the order.
Anchor to FieldsFields
- additions (ExchangeV2Additions!)
- completedAt (DateTime)
- createdAt (DateTime!)
- id (ID!)
- location (Location)
- mirrored (Boolean!)
- note (String)
- refunds ([Refund!]!)
- returns (ExchangeV2Returns!)
- staffMember (StaffMember)
- totalAmountProcessedSet (MoneyBag!)
- totalPriceSet (MoneyBag!)
- transactions ([OrderTransaction!]!)
- Anchor to additionsadditions•Exchange
V2Additions! non-null The details of the new items in the exchange.
- Anchor to completedAtcompleted•Date
At Time The date and time when the exchange was completed.
- Anchor to createdAtcreated•Date
At Time! non-null The date and time when the exchange was created.
- •ID!non-null
A globally-unique ID.
- Anchor to locationlocation•Location
The location where the exchange happened.
- Anchor to mirroredmirrored•Boolean!non-null
Mirrored from Admin Exchanges.
- Anchor to notenote•String
The text of an optional note that a shop owner can attach to the exchange.
- Anchor to refundsrefunds•[Refund!]!non-null
The refunds processed during the exchange.
- Anchor to returnsreturns•Exchange
V2Returns! non-null The details of the returned items in the exchange.
- Anchor to staffMemberstaff•Staff
Member Member The staff member associated with the exchange.
- Anchor to totalAmountProcessedSettotal•Money
Amount Processed Set Bag! non-null The amount of money that was paid or refunded as part of the exchange.
- Anchor to totalPriceSettotal•Money
Price Set Bag! non-null The difference in values of the items that were exchanged.
- Anchor to transactionstransactions•[Order
Transaction!]! non-null The order transactions related to the exchange.