The Rest API is deprecated and will be removed in the future. We recommend using the GraphQL API instead. Some endpoints may not be available anymore.

Get purchase order by id

GET

https://api.pack.cloud/v1/organizations/{organizationId}/purchase-orders/{purchaseOrderId}

Request

Path parameters

organizationIdstring
purchaseOrderIdstring

Response

OK

Body

idstring
ID of the purchase order
supplier_idstring
ID of the supplier
referencestring
Example:ORD100123
statusstring
Status of the purchase order
Allowed values:canceledcreatedorderedexpectedreceivingreceivedcompleted
created_atstring
Creation time of resource
updated_atstring
Latest update time of resource
updatableboolean