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 list of stock per warehouse
GET
https://api.pack.cloud/v1/organizations/{organizationId}/product-warehouses
Request
Path parameters
organizationIdstring
Query parameters
filter[product_id]string
filter[warehouse_id]string
includearray
Allowed values:productwarehouse
Response
OK
Body
product_idstring
ID of the product
warehouse_idstring
ID of the warehouse that manages the stock
needs_expiry_dateboolean
needs_lot_numberboolean
needs_serial_numberboolean
Track serial numbers throughout the process
needs_serial_number_while_packingboolean
Track serial numbers when packing only
quantity_allocatedinteger
Quantity allocated to fulfillments
quantity_on_handinteger
Quantity currently on hand
quantity_availableinteger
Quantity available
prevstringnull
Link to previous page
nextstringnull
Link to next page
per_pageinteger
Item count per page
Example:25
OK
Body
product_idstring
ID of the product
warehouse_idstring
ID of the warehouse that manages the stock
needs_expiry_dateboolean
needs_lot_numberboolean
needs_serial_numberboolean
Track serial numbers throughout the process
needs_serial_number_while_packingboolean
Track serial numbers when packing only
quantity_allocatedinteger
Quantity allocated to fulfillments
quantity_on_handinteger
Quantity currently on hand
quantity_availableinteger
Quantity available
prevstringnull
Link to previous page
nextstringnull
Link to next page
per_pageinteger
Item count per page
Example:25
OK
Body
product_idstring
ID of the product
warehouse_idstring
ID of the warehouse that manages the stock
needs_expiry_dateboolean
needs_lot_numberboolean
needs_serial_numberboolean
Track serial numbers throughout the process
needs_serial_number_while_packingboolean
Track serial numbers when packing only
quantity_allocatedinteger
Quantity allocated to fulfillments
quantity_on_handinteger
Quantity currently on hand
quantity_availableinteger
Quantity available
prevstringnull
Link to previous page
nextstringnull
Link to next page
per_pageinteger
Item count per page
Example:25
OK
Body
product_idstring
ID of the product
warehouse_idstring
ID of the warehouse that manages the stock
needs_expiry_dateboolean
needs_lot_numberboolean
needs_serial_numberboolean
Track serial numbers throughout the process
needs_serial_number_while_packingboolean
Track serial numbers when packing only
quantity_allocatedinteger
Quantity allocated to fulfillments
quantity_on_handinteger
Quantity currently on hand
quantity_availableinteger
Quantity available
prevstringnull
Link to previous page
nextstringnull
Link to next page
per_pageinteger
Item count per page
Example:25
OK
Body
product_idstring
ID of the product
warehouse_idstring
ID of the warehouse that manages the stock
needs_expiry_dateboolean
needs_lot_numberboolean
needs_serial_numberboolean
Track serial numbers throughout the process
needs_serial_number_while_packingboolean
Track serial numbers when packing only
quantity_allocatedinteger
Quantity allocated to fulfillments
quantity_on_handinteger
Quantity currently on hand
quantity_availableinteger
Quantity available
prevstringnull
Link to previous page
nextstringnull
Link to next page
per_pageinteger
Item count per page
Example:25