Create Sku


POST http://openapi.ck1info.com/v1/merchantSkus
Description: Create sku, before create an inbound order
Http 201 - Ok
Http 200 - Ok, not changed
Http 400 - Invalid data, Please check

Request

Body Parameters
NameDataTypeAnnotationRequiredDescriptionExample
Sku string

String length: between 0 and 100

Required

bag-y001

CustomStorageNo string

regular expression: ^[\x00-\x7f]{3,50}$

String length: between 0 and 25

Y09UIY987985

ProductName string

String length: between 0 and 100

Required

bag

HsCode string

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

ProductDescription string

String length: between 0 and 2000

Required

Sample description

Weight integer

Range: between 1 and 2147483647

Required

600

Length decimal number

Decimal: 8,2

Required

25

Width decimal number

Decimal: 8,2

Required

10

Height decimal number

Decimal: 8,2

Required

20

DeclareName string

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

String length: between 0 and 100

Required

bag

DeclareNameCn string

String length: between 0 and 100

bag

DeclareValue decimal number

Decimal: 18,2

Required

5

ProductFlag ProductFlag

None.

Simple

ProductAttribute ProductAttribute

None.

ProductModel string

String length: between 0 and 100

ProductAmountWarn integer

Range: between 0 and 2147483647

0

ProductCategory string

String length: between 0 and 50

bag

Brand string

None.

迪士尼

Material string

String length: between 0 and 50

MaterialCN string

String length: between 0 and 50

ImportHsCode string

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

ProductRemark string

String length: between 0 and 255

书包

ProductImage string

None.

Suffix string

None.

JPG

ProductSize string

None.

Request in JSON
{
  "Sku": "sample string 1",
  "CustomStorageNo": "sample string 2",
  "ProductName": "sample string 3",
  "HsCode": "sample string 4",
  "ProductDescription": "sample string 5",
  "Weight": 6,
  "Length": 7,
  "Width": 8,
  "Height": 9,
  "DeclareName": "sample string 10",
  "DeclareNameCn": "sample string 11",
  "DeclareValue": 12,
  "ProductFlag": "Simple",
  "ProductAttribute": "GeneralCargo",
  "ProductModel": "sample string 13",
  "ProductAmountWarn": 14,
  "ProductCategory": "sample string 15",
  "Brand": "sample string 16",
  "Material": "sample string 17",
  "MaterialCN": "sample string 18",
  "ImportHsCode": "sample string 19",
  "ProductRemark": "sample string 20",
  "ProductImage": "sample string 21",
  "Suffix": "sample string 22",
  "ProductSize": "sample string 23"
}

Response

None.