MobileOrderUpdate
Event payload pushed via the orderUpdates subscription. v1 carries status changes; future revisions may add driver location and ETA refinements.
type MobileOrderUpdate {
emittedAt: DateTime!
message: String
orderId: ID!
orderNumber: String!
status: MobileOrderStatus!
}
Fields
MobileOrderUpdate.emittedAt ● DateTime! non-null scalar
When the update was sent.
MobileOrderUpdate.message ● String scalar
Free-text update detail (e.g. "Packed at warehouse").
MobileOrderUpdate.orderId ● ID! non-null scalar
The ID of the order.
MobileOrderUpdate.orderNumber ● String! non-null scalar
The order number.
MobileOrderUpdate.status ● MobileOrderStatus! non-null enum
The new status of the order.
Returned By
orderUpdates subscription