Skip to content

OrderLifecyclePayload ​

Type: Object

Everything hanging off a single order — the order itself, its lines, the estimate it came from, and the invoices, shipments and production jobs it produced — gathered in one round trip.

Fields ​

NameTypeArgsDescriptionDeprecated
errors[FieldError!]!Field-level lookup errors; empty on success. Carries orderId: order not found when no such order exists for the tenant.
estimateEstimateStateThe estimate the order was converted from, if the order carries an estimateId. Null for orders raised directly, and when the order was not found.
estimateLines[EstimateLineState!]!Lines of estimate, in sortOrder ascending. Empty when the order has no linked estimate — never populated independently of estimate.
invoices[InvoiceState!]!Every invoice raised against the order, including credit notes. Empty until the order is first invoiced.
jobs[JobState!]!Production jobs reached through the order's lines (each line may carry a jobId); deduplicated. Empty when no line has been put into production.
orderOrderStateThe requested order. Null only when no order with that id exists in the caller's tenant, in which case errors explains why.
orderLines[OrderLineState!]!All lines on the order, in the order's own display order (sortOrder ascending). Empty when the order was not found.
shipments[ShipmentState!]!Every shipment raised against the order, dispatched or not. Empty until the order is first shipped.

Relationships ​

Connect machines, automate workflows, and build custom apps for print production.