Skip to main content

Get PO By Id

GET /v1/purchase-order/:id

Retrieves a single purchase order by its unique identifier. The response includes order details such as status, pricing, currency, distributor information, associated items, and timestamps reflecting its current lifecycle state.

Response Example

{
"_id": "purchase-order-id-1",
"tenant": "tenant-id-1",
"status": "draft",
"state": "",
"deleted": false,
"currency": {
"type": "NOK"
},
"price": 1233.55,
"distributor": {
"id": "distributor-id-1",
"name": "Example Distributor"
},
"date": {
"order": null,
"canceled": null,
"accepted": null,
"confirmed": null,
"delivered": null,
"draft": "2025-10-29T09:24:52.672Z"
},
"items": [
{
"unit": {
"price": 246.71
},
"date": {
"delivery": null,
"rest": null
},
"id": "product-id-1",
"group_id": "product-group-id-1",
"name": "Example Product",
"sku": "SKU1000",
"isSubscription": false,
"amount": 5,
"price": 1233.55
}
],
"created": "2025-10-29T09:24:52.673Z",
"updated": "2025-10-29T09:24:52.673Z"
}