Optional merchant-supplied grouping identifiers (e.g. container, pallet, batch). Multiple orders may share the same value, allowing them to be retrieved together.
Links in both directions. Compare sourceOrder.id against this order's id to tell them apart: as the source, this order was replaced by (or combined into) the other; as the target, the reverse.
Per-item return eligibility, computed with the same rules orderReturnCreate enforces. Intended as the single source of truth for return-selection UI: render directly off returnableQuantity rather than deriving it from orderFulfillmentProgress. Nullable by design — if the underlying fulfillment lookup fails this field resolves to null instead of failing the whole order query. Treat null as "eligibility unknown": do not offer returns.
Type.
Order
No description
Fields
id
ID!
Required
checkoutSession
CheckoutSession
customsSpec
CustomsSpec
declaration
Declaration
accountOrderNumber
String
Organization.amountSubtotals
AmountSubtotals!
Required
Orderamount was calculated.amountSubtotalsDetails
[AmountDetail!]
cartons
[Carton!]
Cartonsthat are included in theOrder.createdAt
DateTime!
Required
Orderwas created.createdBy
ID!
Required
currencyCode
CurrencyCode!
Required
Orderprice amount is in.destinationCountryCode
String
externalGroupIds
[String!]
hasPendingModificationPayment
Boolean!
Required
items
[Item!]
Itemsthat are included in theOrder.landedCosts
[LandedCost!]
landedCostcalculations that are included in theOrder.metadata
[OrderMetadata]
Orderdetails.mode
Mode!
Required
notes
[OrderNote]
.orderModifications
[OrderModification!]!
Required
organization
ID!
Required
Organizationassociated with the Order.parties
[Party!]
Order.references
[OrderReference!]
Order.refunds
[OrderRefund!]
relations
[OrderRelation!]!
Required
sourceOrder.idagainst this order's id to tell them apart: as the source, this order was replaced by (or combined into) the other; as the target, the reverse.remittance
[Remittance]
returnEligibility
OrderReturnEligibility
orderReturnCreateenforces. Intended as the single source of truth for return-selection UI: render directly offreturnableQuantityrather than deriving it fromorderFulfillmentProgress. Nullable by design — if the underlying fulfillment lookup fails this field resolves to null instead of failing the wholeorderquery. Treat null as "eligibility unknown": do not offer returns.returns
[OrderReturn!]!
Required
root
Root
serviceLevelDisplayName
String
shipmentRatings
[ShipmentRating!]
shipmentRatingsthat are included in theOrder.status
OrderStatus!
Required
Order.statusTransitions
[OrderStatusTransition!]!
Required
trackingNumbers
[String]
order.updatedAt
DateTime!
Required
Orderwas most recently updated.updatedBy
ID!
Required
zonosOrderId
String
shipments
[Shipment!]!
Required