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 goods receipt purchase orders

GET

https://api.pack.cloud/v1/warehouses/{warehouseId}/goods-receipts/{goodsReceiptId}/purchase-orders

Request

Path parameters

warehouseIdstring
goodsReceiptIdstring

Query parameters

includearray
Allowed values:lineslines.product

Response

OK

Body

idstring
ID of the purchase order
organization_idstring
ID of the organization
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