类目子列表

接口概述

该接口用于查询商品类目子列表。

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

示例请求

  1. {
  2. "language": "ja",
  3. "cateName": "鞋",
  4. }

示例返回

  1. {
  2. "code": 0,
  3. "result": true,
  4. "message": "success",
  5. "data": [
  6. {
  7. "categoryId": 1036051,
  8. "chineseName": "缝鞋机",
  9. "translatedName": "靴縫い機",
  10. "language": "ja",
  11. "leaf": true,
  12. "level": "3",
  13. "parentCateId": 10179
  14. },
  15. {
  16. "categoryId": 1036832,
  17. "chineseName": "鞋修饰机",
  18. "translatedName": "靴トリムマシン",
  19. "language": "ja",
  20. "leaf": true,
  21. "level": "3",
  22. "parentCateId": 10179
  23. },
  24. ]
  25. }