查询Sku在某个仓库的库存情况


POST http://openapi.ck1info.com/v1/inventories
接口说明: 查询Sku在某个仓库的库存情况

输入参数

Body Parameters
名称类型格式要求是否必须描述示例值
Skus Collection of string

None.

必须

商家SKU,最多30个

WarehouseId string

长度: 0 ~ 30

必须

仓库Id

US

输入参数的json形式
{
  "Skus": [
    "sample string 1",
    "sample string 2"
  ],
  "WarehouseId": "sample string 1"
}

返回结果

名称类型格式要求是否必须描述示例值
WarehouseId string

None.

仓库Id

US

Sku string

None.

商家Sku

bag-y001

Ck1Sku string

None.

出口易Sku

bag-y001_MN006334

StorageNo string

None.

库存编码

YY09UIY987985

Weight integer

None.

重量(g)

600

Length decimal number

None.

长(cm)

20

Width decimal number

None.

宽(cm)

10

Height decimal number

None.

高(cm)

25

DeclareName string

None.

申报名称

bag

DeclareNameCn string

None.

中文申报名称

DeclareValue decimal number

None.

申报价值(USD)

5

ProductFlag ProductFlag

None.

产品类型

Simple

ProductAttribute ProductAttribute

None.

产品属性

TotalStockQty integer

None.

实际库存数

20

AvailStockQty integer

None.

可用库存数

20

InTransitStockQty integer

None.

在途库存数

20

CreateTime string

None.

创建时间

2015-01-02T15:01:01Z

返回结果的json形式
[
  {
    "WarehouseId": "sample string 1",
    "Sku": "sample string 2",
    "Ck1Sku": "sample string 3",
    "StorageNo": "sample string 4",
    "Weight": 5,
    "Length": 6,
    "Width": 7,
    "Height": 8,
    "DeclareName": "sample string 9",
    "DeclareNameCn": "sample string 10",
    "DeclareValue": 11,
    "ProductFlag": "Simple",
    "ProductAttribute": "GeneralCargo",
    "TotalStockQty": 12,
    "AvailStockQty": 13,
    "InTransitStockQty": 14,
    "CreateTime": "sample string 15"
  },
  {
    "WarehouseId": "sample string 1",
    "Sku": "sample string 2",
    "Ck1Sku": "sample string 3",
    "StorageNo": "sample string 4",
    "Weight": 5,
    "Length": 6,
    "Width": 7,
    "Height": 8,
    "DeclareName": "sample string 9",
    "DeclareNameCn": "sample string 10",
    "DeclareValue": 11,
    "ProductFlag": "Simple",
    "ProductAttribute": "GeneralCargo",
    "TotalStockQty": 12,
    "AvailStockQty": 13,
    "InTransitStockQty": 14,
    "CreateTime": "sample string 15"
  }
]