Order
No description
type Order {
id: ID!
platformOrderId: String!
uid: String
enterpriseId: String
shopId: String
shopName: String
orderNumber: String
platformId: String
currencyCode: String
mapped: String
cancelled: Boolean
shipped: Boolean
draft: Boolean
totalTax: Float
totalDiscount: Float
totalPrice: Float
shippingCost: Float
grandTotal: Float
createdAt: Timestamp
updatedAt: Timestamp
shippingAddress: Address
orderItems: [OrderItem!]
shippingOptions: ShippingOptions
cost: OrderCost
shipments: [Shipment!]
status: String
statusTags: [String]
}
Fields
Order.id ● ID! non-null scalar
Order.platformOrderId ● String! non-null scalar
Order.uid ● String scalar
Order.enterpriseId ● String scalar
Order.shopId ● String scalar
Order.shopName ● String scalar
Order.orderNumber ● String scalar
Order.platformId ● String scalar
Order.currencyCode ● String scalar
Order.mapped ● String scalar
Order.cancelled ● Boolean scalar
Order.shipped ● Boolean scalar
Order.draft ● Boolean scalar
Order.totalTax ● Float scalar
Order.totalDiscount ● Float scalar
Order.totalPrice ● Float scalar
Order.shippingCost ● Float scalar
Order.grandTotal ● Float scalar
Order.createdAt ● Timestamp object
Order.updatedAt ● Timestamp object
Order.shippingAddress ● Address object
Order.orderItems ● [OrderItem!] list object
Order.shippingOptions ● ShippingOptions object
Order.cost ● OrderCost object
Order.shipments ● [Shipment!] list object
All shipments for this order (every parcel for split shipments).
Order.status ● String scalar
Coarse, normalized lifecycle status derived server-side from the order's
stored flags: one of "production" | "unsynced" | "shipped" | "cancelled".
Mirrors the normalization Riverr's internal search index uses. Precedence
(last match wins): cancelled > shipped > unsynced (not fully mapped) >
production (default). For finer pipeline state read statusTags.
Order.statusTags ● [String] list scalar
Fine-grained lifecycle tags stored on the order (e.g. "pre-production", "in-production", "routed", "partially-shipped", "shipped", "cancelled", "draft"). Typed as a list for forward-compatibility; internal-only tags are filtered out. Empty until the mapping/production pipeline has run.
Returned By
createOrder mutation ● createOrderFromGtin mutation ● getOrder query ● getOrders query ● updateOrder mutation