# Get a list of merchant categories
# Interface call request specification
Get a list of class categories that have successfully applied for
Http request method: POST
https://api.weixin.qq.com/shop/account/get_category_list?access_token=xxxxxxxxx
# Request Parameter Sample
{
}
# Return Package Example
{
"errcode": 0,
"errmsg":"ok",
"data":
[
{
"first_cat_id": 6870,
"second_cat_id": 6911,
"third_cat_id": 6930,
"first_cat_name": "Beauty and skin care,"
"second_cat_name": "Perfume and makeup,"
"third_cat_name": " pre-makeup cream/Premasseur "
},
...
]
}
# Request Parameter Dxplaination
nothing
# Return parameter specification
parameter | type | Introductions |
---|---|---|
Errcode | number | Error code |
errmsg | string | Error message |
data | object array | List of categories |
data[].third_cat_id | number | Category ID |
data[].third_cat_name | string | Category Name |
data[].second_cat_id | number | Secondary Class ID |
data[].second_cat_name | string | Secondary Class Name |
data[].first_cat_id | number | First-Class ID |
data[].first_cat_name | string | First-Class Name |