# Get the store's categories
# Dxplaination of Interface Call Request
http请求方式:POST
https://api.weixin.qq.com/product/store/get_shopcat?access_token=xxxxxxxxx
# Example of request parameters
{}
# Examples of back-up
{
"errcode": 0,
"errmsg":"ok",
"shopcat_list":
[
{
"shopcat_id": 123,
"shopcat_name": "食品",
"f_shopcat_id": 0,
"cat_level": 1
},
...
]
}
# Dxplaination of request parameters
nothing
# Dxplaination of callback parameters
参数 | type | Introductions |
---|---|---|
errcode | number | Error code |
errmsg | string | Error message |
shopcat_list[].shopcat_id | number | Category ID |
shopcat_list[].shopcat_name | string | Categories Name |
shopcat_list[].f_shopcat_id | number | Parent Category ID |
shopcat_list[].cat_level | number | Classification levels |
# Return code
返回码 | Error Type |
---|---|
-1 | System exceptions |
-2 | Token too long |