查询sku状态


POST http://openapi.ck1info.com/v1/sku/lists
接口说明: 查询sku状态

输入参数

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

None.

需要查询的Sku列表,最多支持100个。两个查询条件二选一

CustomStorageNoList Collection of string

None.

需要查询的自定义库存编码(商品条码),最多支持100个。两个查询条件二选一

ProductStorageQuery ProductStorageModel

None.

输入参数的json形式
{
  "SkuList": [
    "sample string 1",
    "sample string 2"
  ],
  "CustomStorageNoList": [
    "sample string 1",
    "sample string 2"
  ],
  "ProductStorageQuery": {
    "StorageNo": "sample string 1",
    "ClinetId": 2,
    "WarehouseId": 3
  }
}

返回结果

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

长度: 0 ~ 100

必须

商家SKU

bag-y001

CustomStorageNo string

满足正则: ^[a-zA-Z0-9-]{2,25}$

长度: 0 ~ 25

自定义库存编码(商品条码)

Y09UIY987985

HsCode string

长度: 0 ~ 100

必须

海关编码(HS CODE出口国)

HsCode

ProductDescription string

长度: 0 ~ 2000

必须

产品描述

Sample description

DeclareName string

满足正则: (?![\d\s]+$)^[a-zA-Z_\s0-9\-\(\)\'&,\|]+$

长度: 0 ~ 100

必须

申报名称

bag

DeclareValue decimal number

浮点数格式: 18,2

必须

申报价值(USD)

5

ProductAttribute ProductAttribute

None.

产品属性

ImportHsCode string

满足正则: ^\d{6,10}$|^$

长度: 6 ~ 10

海关编码(HsCode-进口国)

Brand string

None.

品牌

Material string

长度: 0 ~ 50

材料-英文

MaterialCN string

长度: 0 ~ 50

材料-中文

ApprovalStatus string

None.

审批状态

Pending 待审批、Approved 已审批、Rejected 审批不通过

返回结果的json形式
[
  {
    "Sku": "sample string 1",
    "CustomStorageNo": "sample string 2",
    "HsCode": "sample string 3",
    "ProductDescription": "sample string 4",
    "DeclareName": "sample string 5",
    "DeclareValue": 6,
    "ProductAttribute": "GeneralCargo",
    "ImportHsCode": "sample string 7",
    "Brand": "sample string 8",
    "Material": "sample string 9",
    "MaterialCN": "sample string 10",
    "ApprovalStatus": "sample string 11"
  },
  {
    "Sku": "sample string 1",
    "CustomStorageNo": "sample string 2",
    "HsCode": "sample string 3",
    "ProductDescription": "sample string 4",
    "DeclareName": "sample string 5",
    "DeclareValue": 6,
    "ProductAttribute": "GeneralCargo",
    "ImportHsCode": "sample string 7",
    "Brand": "sample string 8",
    "Material": "sample string 9",
    "MaterialCN": "sample string 10",
    "ApprovalStatus": "sample string 11"
  }
]