Create purchase order
Create a purchase order with its lines for the organisation. POs are trusted platform data and do not require approval.
Body
Creates a purchase order with its lines.
Supplier the order is raised against. Optional — may be assigned later.
Caller's own reference for the order (a reverse pointer to the platform's record). Optional.
Human purchase-order number printed on the order. Required.
ISO 4217 currency code. Defaults to GBP.
Date the order was raised. Optional.
Expected delivery date. Optional.
The ordered lines. At least one is required.
Response
Created
A purchase order and its ordered lines.
Human purchase-order number printed on the order. Required and unique within the organisation.
ISO 4217 currency code of the order.
Unique identifier of the purchase order.
The organisation that owns the purchase order.
The supplier the order is raised against, if assigned.
Caller's own reference for the order (a reverse pointer to the platform's record), if any.
Lifecycle status: Draft, Open, PartiallyMatched, FullyMatched (all derived from matching), or the manual terminal states Closed / Cancelled.
Draft, Open, PartiallyMatched, FullyMatched, Closed, Cancelled Date the order was raised, if recorded.
Expected delivery date, if recorded.
The ordered lines, in display order.
When the purchase order was created.
When the purchase order was last updated.