Skip to content

GET /2025-07/cloud/product/inventory/{product_id}

Method: GET

URL:

Sandbox URL:

Description: Get Product Inventory Info.

Parameters required to be sent

ParameterDescriptionType
product_idProduct ID.Long, Required

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": [
    {
      "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
        }
      ]
    }
  ]
}