Query / commerce
orderLifecycle
Fetch a complete order lifecycle: order, lines, estimate, invoices, shipments, and jobs. Requires order:read.
Arguments
orderIdOrderID!TypeID of the order to expand (ord_01K…). Must belong to the caller's tenant; otherwise the payload comes back empty with an orderId: order not found error.
Returns OrderLifecyclePayload!
Explore in a view
View exact SDL
"""
Fetch a complete order lifecycle: order, lines, estimate, invoices, shipments, and jobs. Requires order:read.
"""
orderLifecycle(
"""
TypeID of the order to expand (`ord_01K…`). Must belong to the caller's tenant; otherwise the payload comes back empty with an `orderId: order not found` error.
"""
orderId: OrderID!
): OrderLifecyclePayload! @topic(names: ["commerce"])Schema reference describes the API contract. Actual access is checked by the platform for every operation.