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 line

GET

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

Request

Path parameters

organizationIdstring
purchaseOrderIdstring
lineIdstring

Response

OK

Body

idstring
ID of the purchase order line
purchase_order_idstring
ID of the purchase order
product_idstring
ID of the ordered product
Price per item
quantity_orderedinteger
Quantity that is ordered
quantity_receivedinteger
Quantity that is received in completed goods receipts
sell_aheadinteger
Quantity to allow pre-orders for this product