获取实物商品列表
POST
https://api.xiaoe-tech.com/xe.goods.category.list/1.0.0
拥有此API的权限集 |
---|
商品管理-商品操作 |
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.xiaoe-tech.com/xe.goods.category.list/1.0.0' \
--header 'Content-Type: application/json' \
--data-raw '{
"access_token":"xe_xxxxx",
"parent_id":"11645"
}'
响应示例响应示例
{
"code": 0,
"msg": "success",
"data": [
{
"id": 3388,
"title": "美妆饰品",
"parent_id": 0,
"is_enable": "1",
"has_children": 1,
"created_at": "2020-07-06 12:06:52",
"updated_at": "2020-08-12 23:10:49",
"rank": 0,
"children": [
{
"id": 3389,
"title": "眼镜/酒具/替烟品",
"parent_id": 3388,
"is_enable": "1",
"has_children": 1,
"created_at": "2020-07-06 12:06:42",
"updated_at": "2000-01-01 00:00:00",
"rank": 9999
}
]
},
{
"id": 5212,
"title": "母婴用品",
"parent_id": 0,
"is_enable": "1",
"has_children": 1,
"created_at": "2020-07-06 12:05:27",
"updated_at": "2020-08-12 23:10:49",
"rank": 2,
"children": [
{
"id": 5252,
"title": "童鞋/婴儿鞋/亲子鞋",
"parent_id": 5212,
"is_enable": "1",
"has_children": 1,
"created_at": "2020-07-06 12:05:27",
"updated_at": "2000-01-01 00:00:00",
"rank": 9999
}
]
}
]
}
请求参数
Body 参数application/json