- 开发前必读
- 开始开发
- 查询类接口文档
- 通用API
- 用户管理API
- 店铺管理API
- 连锁门店API
- 商户管理API
- 商品管理API
- 会员管理API
- 订单管理API
- 营销管理API
- 推广员API
- 插件管理API
- 人信云API
- 推送类接口文档
- 企微助手插件说明
获取商品分类
开发中
GET
/goods/category/list
最后修改时间:2023-03-03 08:41:12
请求参数
无
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET '/goods/category/list'
返回响应
🟢200成功
application/json
Body
error
integer
必需
list
array [object {11}]
商品分类列表
id
string
商品分类ID
display_order
string
排序
parent_id
string
必需
name
string
分类名称
thumb
string
分类图片
is_recommand
string
必需
advurl
string
点击图片跳转网址
advimg
string
分类广告
status
string
是否开启
create_time
string
创建时间
children
array [object {11}]
必需
level
string
必需
示例
{
"error": 0,
"list": [
{
"id": "55",
"display_order": "0",
"parent_id": "0",
"name": "清洁洗护😀😀",
"thumb": "image/25/2021/12/e717447796b5b7fc816973514963ce3d.png",
"is_recommand": "0",
"advurl": "/pagesGoods/goodList/index",
"advimg": "image/25/2021/12/e360cdd480802cb898dcd2bfec5531be.png",
"status": "1",
"create_time": "2021-12-15 13:47:17",
"children": [
{
"id": "64",
"display_order": "0",
"parent_id": "55",
"name": "猫猫😀",
"thumb": "image/25/2021/12/e3be9ac1dd46bf3cb15641be089d626b.jpg",
"is_recommand": "0",
"advurl": "",
"advimg": "",
"status": "1",
"create_time": "2021-12-15 15:15:54",
"children": []
},
{
"id": "63",
"display_order": "1",
"parent_id": "55",
"name": "狗狗",
"thumb": "image/25/2021/12/c0547bf615860748146134917682f5d3.jpg",
"is_recommand": "0",
"advurl": "",
"advimg": "",
"status": "0",
"create_time": "2021-12-15 15:15:54",
"children": [
{
"id": "112",
"display_order": "0",
"parent_id": "63",
"name": "狗粮4545",
"thumb": "image/25/2022/09/d97fa69f080786e8fb25200bde6ed08e.jpg",
"is_recommand": "0",
"advurl": "",
"advimg": "",
"status": "1",
"create_time": "2022-09-08 10:11:26"
},
{
"id": "113",
"display_order": "0",
"parent_id": "63",
"name": "狗衣服5656",
"thumb": "image/25/2022/09/68e990408482966bf46517a95b0776c1.jpg",
"is_recommand": "0",
"advurl": "",
"advimg": "",
"status": "1",
"create_time": "2022-09-08 10:11:26"
},
{
"id": "114",
"display_order": "0",
"parent_id": "63",
"name": "dfsfdsf",
"thumb": "image/25/2022/09/249a8a5a1681086e18d168881d782063.jpg",
"is_recommand": "0",
"advurl": "",
"advimg": "",
"status": "1",
"create_time": "2022-09-08 10:11:26"
}
]
}
]
}
],
"level": "2"
}

扫码加入 开放接口 微信交流群
在这里,获得 开放接口 使用上的任何帮助,快速上手让你的研测效率得到大幅提升


修改于 2023-03-03 08:41:12