# 添加SKU

接口地址 /api/dxm/add-sku

请求方式 POST

consumes ["application/json"]

produces ["*/*"]

接口描述 ``

请求示例

{
    "sku": "DDZCC10-6",
    "skuName": "衣架",
    "skuCustom": "自定义编码",
    "brand": "产品品牌",
    "model": "产品型号",
    "origin": "产品原产地",
    "material": "产品材质",
    "asinOrSalesLink": "产品信息链接",
    "hsCode": "海关编码",
    "price": "10",
    "skuNameEn": "英文申报品名",
    "skuNameCn": "中文申报品名",
    "unit": "申报单位",
    "skuTag": "产品属性",
    "skuUnit": 1,
    "packageType": "不包装",
    "fragile": "false",
    "length": "11",
    "width": "11",
    "height": "11",
    "weight": "11",
    "picture": "",
    "weightUnit": "WU1",
    "skuCategory": "品类",
    "cargoProperties": 1
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27

请求参数

参数名称 参数说明 请求类型 是否必须 数据类型 schema
token token header true string
form form body true 请求对象 请求对象

schema属性说明

请求对象

参数名称 参数说明 请求类型 是否必须 数据类型 schema
sku sku body true string
skuName 商品名称 body true string
skuCustom 自定义编码 body false string
brand 品牌 body true string
model 型号 body true string
origin 原产地 body true string
material 材质 body true string
asinOrSalesLink 产品信息链接 body true string
hsCode 海关编码 body true string
price 价格 body true decimal
skuNameEn 英文申报品名 body true string
skuNameCn 中文申报品名 body true string
unit 申报单位 body true string
skuTag 产品属性 body false string
skuUnit 上架单位:1:按件上架 2:按箱上架 body true int
packageType 包装类型 body true string
fragile 易碎品 body false boolean
length 长度 body true decimal
width 宽度 body true decimal
height 高度 body true decimal
weight 重量 body true decimal
picture 图片链接 body false string
weightUnit 重量单位 body true string
skuCategory 商品分类 body true string
cargoProperties 货物属性不能为空,货物属性(1.带电 2.带磁 3.带磁带电 4.不带磁不带电) body true int

响应示例

{
    "success": true,
    "message": ""
}
1
2
3
4

响应参数

参数名称 参数说明 类型 schema
success 是否成功 boolean
message 错误信息 string
data 响应数据
Last Updated: 12/20/2024, 10:55:22 AM