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]{5,20}$

String length: between 5 and 20

Y09UIY987985

ProductName string

String length: between 0 and 100

Required

bag

HsCode string

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

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

RealDeclareValue decimal number

None.

7

Condition string

None.

ProductFlag ProductFlag

None.

Required

Simple

ProductAttribute ProductAttribute

None.

Required

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,50}$|^$

ProductRemark string

String length: between 0 and 255

书包

ProductImage string

None.

Suffix string

None.

JPG

ProductSize string

None.

ProducerSellerName string

String length: between 0 and 50

ProducerSellerCreditCode string

String length: between 0 and 18

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,
  "RealDeclareValue": 13,
  "Condition": "sample string 14",
  "ProductFlag": "Simple",
  "ProductAttribute": "GeneralCargo",
  "ProductModel": "sample string 15",
  "ProductAmountWarn": 16,
  "ProductCategory": "sample string 17",
  "Brand": "sample string 18",
  "Material": "sample string 19",
  "MaterialCN": "sample string 20",
  "ImportHsCode": "sample string 21",
  "ProductRemark": "sample string 22",
  "ProductImage": "sample string 23",
  "Suffix": "sample string 24",
  "ProductSize": "sample string 25",
  "ProducerSellerName": "sample string 26",
  "ProducerSellerCreditCode": "sample string 27"
}

Response

None.