Create PurchaseOrder record
Create a new PurchaseOrder record with the provided data. Validates all required fields and business rules.
Headers
Optional. A unique value (a UUID works well) identifying this operation. If the request is repeated with the same key, the original response is replayed instead of the operation running again, so a retry cannot create a duplicate record. Results are replayable for 48 hours. Reusing a key with a different request body returns 422.
Request body
Default expected location for this PO's lines. Advisory only, not enforced.
Response
OK
Name of the company
Total quantity of items that were already billed
Total quantity of items yet to be billed
Total amount of ordered items
Default expected location for this PO's lines. Advisory only, not enforced.
Name of the default expected location
Date and time the record was created
Date and time the record was last updated