Skip to content

GET /2025-07/cloud/product/inventory

Method: GET

URL:

Sandbox URL:

Description: Get Product Inventory.

Parameters required to be sent

ParameterDescriptionType
pageCurrent page number.Integer
sizeAmount of data per page.Integer

Submit a "GET" request to above endpoint

Result object contains:

ParameterDescriptionType
idID.Long
sku_idProduct SKU ID.Long
skuProduct SKU. The maximum length is 128.String
warehousesList of warehouses with their codes and quantity details.Array
  available_qtyAvailable quantity.Integer
  onhand_qtyActual stock quantity.Integer
  warehouse_codeInventory 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
          }
        ]
      }
    ]
  }
}