Get Inventory


POST http://openapi.ck1info.com/v1/inventories
Description: Get Inventory of sku in warehouse

Request

Body Parameters
NameDataTypeAnnotationRequiredDescriptionExample
Skus Collection of string

None.

Required

WarehouseId string

String length: between 0 and 30

Required

US

Request in JSON
{
  "Skus": [
    "sample string 1",
    "sample string 2"
  ],
  "WarehouseId": "sample string 1"
}

Response

NameDataTypeAnnotationRequiredDescriptionExample
WarehouseId string

None.

US

Sku string

None.

bag-y001

Ck1Sku string

None.

bag-y001_MN006334

StorageNo string

None.

YY09UIY987985

Weight integer

None.

600

Length decimal number

None.

20

Width decimal number

None.

10

Height decimal number

None.

25

DeclareName string

None.

bag

DeclareNameCn string

None.

DeclareValue decimal number

None.

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

Response in 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"
  }
]