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 orders

GET

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

Request

Path parameters

organizationIdstring

Query parameters

filter[supplier_id]string
filter[status]array
Allowed values:canceledcreatedorderedexpectedreceivingreceivedcompleted
sortstring
Allowed values:created_at-created_at

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
prevstringnull
Link to previous page
nextstringnull
Link to next page
per_pageinteger
Item count per page
Example:25