GET /2025-07/cloud/product/inventory/{product_id}
Method: GET
URL:
Sandbox URL:
Description: Get Product Inventory Info.
Parameters required to be sent
| Parameter | Description | Type |
|---|---|---|
product_id | Product ID. | Long, Required |
Submit a "GET" request to above endpoint
Result object contains:
| Parameter | Description | Type |
|---|---|---|
id | ID. | Long |
sku_id | Product SKU ID. | Long |
sku | Product SKU. The maximum length is 128. | String |
warehouses | List of warehouses with their codes and quantity details. | Array |
available_qty | Available quantity. | Integer |
onhand_qty | Actual stock quantity. | Integer |
warehouse_code | Inventory warehouse code. | Integer |
Response
json
{
"code": 200,
"message": "Successful!",
"data": [
{
"id": 465889194501726208,
"sku_id": 465889194518503424,
"sku": "BuZhiDe_001",
"warehouses": [
{
"warehouse_code": "121313",
"onhand_qty": 6,
"available_qty": 6
},
{
"warehouse_code": "12450",
"onhand_qty": 500008,
"available_qty": 495780
}
]
}
]
}