创建sku


POST https://openapi.chukou1.cn:82/v1/merchantSkus
接口说明: 创建SKU,海外仓储必要操作
Http 201 - 创建成功
Http 200 - 创建成功,未更改数据
Http 400 - 提交的数据有误,请检查

输入参数

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

长度: 0 ~ 100

必须

商家SKU

bag-y001

CustomStorageNo string

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

长度: 0 ~ 25

自定义库存编码

Y09UIY987985

ProductName string

长度: 0 ~ 100

必须

产品名称

bag

ProductDescription string

长度: 0 ~ 2000

必须

产品描述

Sample description

Weight integer

范围: 1 ~ 2147483647

必须

重量(g)

600

Length decimal number

浮点数格式: 8,2

必须

长(cm)

25

Width decimal number

浮点数格式: 8,2

必须

宽(cm)

10

Height decimal number

浮点数格式: 8,2

必须

高(cm)

20

DeclareName string

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

长度: 0 ~ 100

必须

申报名称

bag

DeclareValue decimal number

浮点数格式: 18,2

必须

申报价值(USD)

5

ProductFlag ProductFlag

None.

产品类型

Simple

ProductAttribute ProductAttribute

None.

产品属性

ProductModel string

长度: 0 ~ 100

产品说明

ProductAmountWarn integer

范围: 0 ~ 2147483647

库存警报

0

ProductCategory string

长度: 0 ~ 50

产品品类

bag

ProductRemark string

长度: 0 ~ 255

产品备注

书包

ProductImage string

None.

请求数据为图片对应的BASE64码。图片大小只能在5M内, 目前只支持 JPG PNG JPNG 的图片类型

Suffix string

None.

目前只支持 (JPG,PNG,JPNG,JPEG,GIF,SVG ) 的图片类型

JPG

输入参数的json形式
{
  "Sku": "sample string 1",
  "CustomStorageNo": "sample string 2",
  "ProductName": "sample string 3",
  "ProductDescription": "sample string 4",
  "Weight": 5,
  "Length": 6,
  "Width": 7,
  "Height": 8,
  "DeclareName": "sample string 9",
  "DeclareValue": 10,
  "ProductFlag": "Simple",
  "ProductAttribute": "GeneralCargo",
  "ProductModel": "sample string 11",
  "ProductAmountWarn": 12,
  "ProductCategory": "sample string 13",
  "ProductRemark": "sample string 14",
  "ProductImage": "sample string 15",
  "Suffix": "sample string 16"
}

返回结果

None.