Update a purchase order. Only PENDING orders can be modified.
The tenant you are making this request on behalf of
Your api key
Schema for updating a purchase order. All fields are optional.
Optional new list of line items (replaces existing)
Optional new list of notes (replaces existing)
Schema for updating a purchase order note.
Successful Response
Purchase order response with computed lead time.
ID of the supplier
Unique identifier for the purchase order
Status of the purchase order
PENDING, PLACED, COMPLETED, CANCELLED Date when the purchase order was sent to supplier
Date when all shipments are DELIVERED (purchase order completed)
Optional supplier details
Line items with details
Notes attached to this purchase order
Date and time the purchase order was created
Date and time the purchase order was last updated
Whether the purchase order is archived
Maximum lead time in days across all line items (estimated delivery time from order placement)