2 augustus 2024
Get order lines
GET
https://api.pack.cloud/v1/warehouses/{warehouseId}/return-receipts/{returnReceiptId}/order-lines
This endpoint will only return order lines that are not present in the return request of the current return receipt.
Request
Path parameters
warehouseIdstring
returnReceiptIdstring
Response
OK
Body
idstring
ID of the order line
order_idstring
ID of the order
product_idstring
ID of the ordered product
namestring
Name of the product ordered
quantity_orderedinteger
Quantity that is ordered
quantity_allocatedinteger
Quantity that is allocated to a fulfillment
quantity_shippedinteger
Quantity that is shipped (already)
quantity_unallocatedinteger
Quantity that is not (yet) allocated to a fulfillment
OK
Body
idstring
ID of the order line
order_idstring
ID of the order
product_idstring
ID of the ordered product
namestring
Name of the product ordered
quantity_orderedinteger
Quantity that is ordered
quantity_allocatedinteger
Quantity that is allocated to a fulfillment
quantity_shippedinteger
Quantity that is shipped (already)
quantity_unallocatedinteger
Quantity that is not (yet) allocated to a fulfillment
OK
Body
idstring
ID of the order line
order_idstring
ID of the order
product_idstring
ID of the ordered product
namestring
Name of the product ordered
quantity_orderedinteger
Quantity that is ordered
quantity_allocatedinteger
Quantity that is allocated to a fulfillment
quantity_shippedinteger
Quantity that is shipped (already)
quantity_unallocatedinteger
Quantity that is not (yet) allocated to a fulfillment
OK
Body
idstring
ID of the order line
order_idstring
ID of the order
product_idstring
ID of the ordered product
namestring
Name of the product ordered
quantity_orderedinteger
Quantity that is ordered
quantity_allocatedinteger
Quantity that is allocated to a fulfillment
quantity_shippedinteger
Quantity that is shipped (already)
quantity_unallocatedinteger
Quantity that is not (yet) allocated to a fulfillment
OK
Body
idstring
ID of the order line
order_idstring
ID of the order
product_idstring
ID of the ordered product
namestring
Name of the product ordered
quantity_orderedinteger
Quantity that is ordered
quantity_allocatedinteger
Quantity that is allocated to a fulfillment
quantity_shippedinteger
Quantity that is shipped (already)
quantity_unallocatedinteger
Quantity that is not (yet) allocated to a fulfillment