Skip to content

ReceivePurchaseOrderPayload ​

Type: Object

Result of receivePurchaseOrder: the updated order and lines, any stock booked in, or the validation errors that blocked it.

Fields ​

NameTypeArgsDescriptionDeprecated
errors[FieldError!]!Per-field validation errors (unknown order, cancelled order, unknown line, non-positive quantity). Empty on success; when non-empty nothing was persisted.
purchaseOrderPurchaseOrderStateThe purchase order after the receipt, with its status moved to RECEIVED (and receivedAt stamped) or PARTIALLY_RECEIVED. Null when validation failed.
stockEntries[WarehouseStockState!]Warehouse stock created by putting the goods away. Null when no warehouse location was given, or when no received line carried a substrate.
updatedLines[PurchaseOrderLineState!]The lines touched by this receipt, with their cumulative received quantity and receipt timestamp updated. Null when validation failed.

Relationships ​

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