# Get a list of merchant categories
# Dxplaination of Interface Call Request
Get a list of category categories that have successfully applied
http请求方式:POST
https://api.weixin.qq.com/shop/account/get_category_list?access_token=xxxxxxxxx
# Example of request parameters
{
}
# Examples of back-up
{
"errcode": 0,
"errmsg":"ok",
"data":
[
{
"first_cat_id": 6870,
"second_cat_id": 6911,
"third_cat_id": 6930,
"first_cat_name": "美妆护肤",
"second_cat_name": "香水彩妆",
"third_cat_name": "隔离霜/妆前乳"
},
...
]
}
# Dxplaination of request parameters
nothing
# Dxplaination of callback parameters
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 category ID |
data[].second_cat_name | string | Secondary category names |
data[].first_cat_id | number | First-level category ID |
data[].first_cat_name | string | Category Name at Level 1 |