更新SKU


PUT https://openapi.chukou1.cn:83/v1/merchantSkus
接口说明: 更新SKU 新数据全量覆盖旧数据,空值的也会覆盖有值
Http 201 - 更新成功
Http 200 - 更新成功,未更改数据
Http 400 - 提交的数据有误,请检查

输入参数

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

长度: 0 ~ 100

必须

商家SKU

bag-y001

HsCode string

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

海关编码(HsCode-出口国)

ProductDescription string

长度: 0 ~ 2000

必须

产品描述

Sample description

Weight integer

None.

重量(g)

600

Length decimal number

None.

长(cm)

25

Width decimal number

None.

宽(cm)

10

Height decimal number

None.

高(cm)

20

DeclareName string

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

长度: 0 ~ 100

必须

申报名称

bag

DeclareNameCn string

长度: 0 ~ 100

中文申报名称

bag

DeclareValue decimal number

浮点数格式: 18,2

必须

FOB成本申报单价(USD)

5

RealDeclareValue decimal number

None.

销售价值

7

Condition string

None.

用途

ProductModel string

长度: 0 ~ 150

产品说明

ProductAmountWarn integer

范围: 0 ~ 2147483647

库存警报

0

ProductCategory string

长度: 0 ~ 50

产品品类

bag

Brand string

None.

品牌

迪士尼

Material string

长度: 0 ~ 150

材质-英文

MaterialCN string

长度: 0 ~ 150

材质-中文

ImportHsCode string

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

海关编码(HsCode-进口国)

ProductRemark string

长度: 0 ~ 255

产品备注

书包

ProductImage string

None.

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

Suffix string

None.

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

JPG

ProducerSellerName string

长度: 0 ~ 50

生产销售单位

ProducerSellerCreditCode string

长度: 0 ~ 18

生产销售单位18位统一社会信用代码

输入参数的json形式
{
  "Sku": "sample string 1",
  "HsCode": "sample string 2",
  "ProductDescription": "sample string 3",
  "Weight": 4,
  "Length": 5,
  "Width": 6,
  "Height": 7,
  "DeclareName": "sample string 8",
  "DeclareNameCn": "sample string 9",
  "DeclareValue": 10,
  "RealDeclareValue": 11,
  "Condition": "sample string 12",
  "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",
  "ProducerSellerName": "sample string 23",
  "ProducerSellerCreditCode": "sample string 24"
}

返回结果

None.