类目子列表
接口概述
该接口用于查询商品类目子列表。
GET /api/v3/platform/category/list
请求参数
| 名称 | 类型 | 必填 | 示例值 | 描述 |
|---|---|---|---|---|
| cateName | String | 是 | 鞋 | 类目名。可模糊搜索 |
返回参数
| 名称 | 类型 | 描述 | 示例值 |
|---|---|---|---|
| code | Integer | 返回状态码 | 0 |
| result | Boolean | 返回结果 | true |
| message | String | 返回描述 | “success” |
| data | Object[] | 返回数据 | - |
| categoryId | Long | 类目ID | 1031910 |
| chineseName | String | 类目中文名称 | 连衣裙 |
| translatedName | String | 类目翻译名称 | ワンピース |
| language | String | 语言 | ja |
| leaf | Boolean | 是否叶子类目 | true |
| level | String | 类目层级 | 2 |
| parentCategoryId | Long | 上层类目ID | 10166 |
示例请求
{"language": "ja","cateName": "鞋",}
示例返回
{"code": 0,"result": true,"message": "success","data": [{"categoryId": 1036051,"chineseName": "缝鞋机","translatedName": "靴縫い機","language": "ja","leaf": true,"level": "3","parentCateId": 10179},{"categoryId": 1036832,"chineseName": "鞋修饰机","translatedName": "靴トリムマシン","language": "ja","leaf": true,"level": "3","parentCateId": 10179},]}
