# 查询sku
接口地址 /api/dxm/sku/query
请求方式 POST
consumes ["application/json"]
produces ["*/*"]
接口描述 ``
请求示例
{
"currentPage": 1,
"pageSize": 10,
"sku": "",
"skuName": ""
}
1
2
3
4
5
6
2
3
4
5
6
请求参数
| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema |
|---|---|---|---|---|---|
| token | token | header | true | string | |
| form | form | body | true | 请求对象 | 请求对象 |
schema属性说明
请求对象
| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema |
|---|---|---|---|---|---|
| sku | sku | body | 否 | string | |
| skuName | sku中文名 | body | 否 | string | |
| currentPage | 当前页码 | body | 是 | int | |
| pageSize | 每页条数 | body | 是 | int |
响应示例
{
"success": true,
"message": "",
"total": 76,
"data": [
{
"sku": "LUNA01",
"skuSpec": 1,
"skuName": "LUNA01",
"skuUnit": 1,
"skuNameEn": null,
"length": null,
"width": null,
"height": null,
"weight": null,
"price": null,
"currency": null,
"hsCode": null,
"brand": null,
"material": null,
"origin": null,
"unit": null,
"purpose": null,
"model": null,
"cargoProperties": null,
"asinOrSalesLink": null,
"picture": null,
"skuCustom": null,
"skuTag": null,
"packageType": null,
"createdAt": null,
"status": null,
"measurementUnit": null,
"remarks": null,
"country": null
}
]
}
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
30
31
32
33
34
35
36
37
38
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
30
31
32
33
34
35
36
37
38
响应参数
| 参数名称 | 参数说明 | 数据类型 |
|---|---|---|
| success | 接口请求是否成功 | boolean |
| message | 错误信息或成功信息 | string |
| total | 数据总数 | integer |
| data.sku | SKU编码 | string |
| data.skuSpec | SKU规格 | integer |
| data.skuName | SKU名称 | string |
| data.skuUnit | SKU单位,上架单位:1:按件上架 2:按箱上架 | integer |
| data.skuNameEn | SKU英文名称 | string |
| data.length | 长度 | double |
| data.width | 宽度 | double |
| data.height | 高度 | double |
| data.weight | 重量 | double |
| data.price | 采购货值/单价 | double |
| data.currency | 币种 | string |
| data.hsCode | 海关编码 | string |
| data.brand | 品牌 | string |
| data.material | 材质 | string |
| data.origin | 原产地 | string |
| data.unit | 单位 | string |
| data.purpose | 用途 | string |
| data.model | 型号 | string |
| data.cargoProperties | 货物属性 | integer |
| data.asinOrSalesLink | ASIN或销售链接 | string |
| data.picture | 商品图片链接 | string |
| data.skuCustom | 自定义编码 | string |
| data.skuTag | 货物属性(多个逗号分割) | string |
| data.packageType | 包装类型,1=不包装,2=装箱,3=装袋 | integer |
| data.createdAt | 创建时间 | string |
| data.status | 状态 0禁用 1启用 | integer |
| data.measurementUnit | 测量单位:1英寸磅,2公斤厘米(1=in/lb,2=cm/kg) | integer |
| data.remarks | 描述 | string |
| data.country | 原产国 | string |