Search Sku


POST http://openapi.ck1info.com/v1/sku/lists
Description: Search Sku

Request

Body Parameters
NameDataTypeAnnotationRequiredDescriptionExample
SkuList Collection of string

None.

CustomStorageNoList Collection of string

None.

ProductStorageQuery ProductStorageModel

None.

Request in JSON
{
  "SkuList": [
    "sample string 1",
    "sample string 2"
  ],
  "CustomStorageNoList": [
    "sample string 1",
    "sample string 2"
  ],
  "ProductStorageQuery": {
    "StorageNo": "sample string 1",
    "ClinetId": 2,
    "WarehouseId": 3
  }
}

Response

NameDataTypeAnnotationRequiredDescriptionExample
Sku string

String length: between 0 and 100

Required

bag-y001

CustomStorageNo string

regular expression: ^[a-zA-Z0-9-]{2,25}$

String length: between 0 and 25

Y09UIY987985

HsCode string

String length: between 0 and 100

Required

HsCode

ProductDescription string

String length: between 0 and 2000

Required

Sample description

DeclareName string

regular expression: (?![\d\s]+$)^[a-zA-Z_\s0-9\-\(\)\'&,\|]+$

String length: between 0 and 100

Required

bag

DeclareValue decimal number

Decimal: 18,2

Required

5

ProductAttribute ProductAttribute

None.

ImportHsCode string

regular expression: ^\d{6,10}$|^$

String length: between 6 and 10

Brand string

None.

Material string

String length: between 0 and 50

MaterialCN string

String length: between 0 and 50

ApprovalStatus string

None.

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

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