# 添加SKU

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

请求方式 POST

consumes ["application/json"]

produces ["*/*"]

接口描述 ``

请求示例

{
  
    "sku": "DDZCC10-6",
    "skuName": "衣架",
    "skuUnit": 1,
    "skuNameEn": "Hanger",
    "length": 11.0,
    "width": 11.0,
    "height": 11.0,
    "weight": 11.0,
    "price": 10.0,
    "currency": "USD",
    "hsCode": "3924900000",
    "brand": "产品品牌",
    "material": "塑料",
    "origin": "中国",
    "unit": "个",
    "purpose": "家用",
    "model": "HX-2023",
    "asinOrSalesLink": "https://example.com/product",
    "picture": "https://example.com/image.jpg",
    "measurementUnit": 2,
    "skuCustom": "CUSTOM001",
    "skuTag": "4,5",
    "packageType": 2,
    "remarks": "备注说明",
    "country": "CN",
    "stockWarning": 100
}
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
28
29

请求参数

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

schema属性说明

请求对象

参数名称 参数说明 请求类型 是否必须 数据类型 schema
sku SKU编码 body true string
skuName 中文品名 body true string
skuNameEn 英文品名 body false string
skuUnit 库存单位不能为空, 1:PCS, 2:CTN body true Integer
length 长度 body true Double
width 宽度 body true Double
height 高度 body true Double
weight 重量 body true Double
price 申报价格 body true Double
currency 币种 body false string
hsCode 海关编码 body true string
brand 品牌 body false string
material 材质 body false string
origin 原产地 body false string
unit 申报单位 body true string
purpose 用途 body false string
model 型号 body false string
asinOrSalesLink ASIN或销售链接 body false string
picture 图片URL body false string
measurementUnit 测量单位不能为空:1英寸磅,2公斤厘米 body true Integer
skuCustom 自定义编,保持唯一 body false string
skuTag 货物属性, 多个由英文逗号分割,货物属性(1.带电 2.带磁 3.带磁带电 4.不带磁不带电 5=液体 6=易碎) body false string
packageType 包装类型,1=不包装,2=装箱,3=装袋 body true Integer
remarks 描述 body false string
country 原产国 body false string
stockWarning 库存预警 body false Integer

响应示例

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

响应参数

参数名称 参数说明 类型 schema
success 是否成功 boolean
message 错误信息 string
data 响应数据
Last Updated: 2/27/2026, 5:53:27 PM