GET /2025-07/cloud/product/inventory
Method: GET
URL:
Sandbox URL:
Description: Get Product Inventory.
Parameters required to be sent
| Parameter | Description | Type |
|---|---|---|
page | Current page number. | Integer |
size | Amount of data per page. | Integer |
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": {
"page": 1,
"size": 500,
"total": 317,
"list": [
{
"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
}
]
}
]
}
}