Skip to main content

Create PO From Order

PUT /v1/purchase-order/from-order/:orderId

Creates a new purchase order based on an existing order. You provide the source order identifier and specify which items to include in the purchase order. The endpoint validates the input, applies defaults, and returns the newly created purchase order with all calculated values.

Request Body

{
"items": [
{
"group_id": "27810092-d65a-4560-9925-2fb996d1da60",
"amount": 5
}
]
}