# Get the merchandise classification of the store

# Interface call request specification

Http request method: POST
https://api.weixin.qq.com/product/store/get_shopcat?access_token=xxxxxxxxx

# Request Parameter Sample

{}

# Return Package Example

{
    "errcode": 0,
    "errmsg":"ok",
    "shopcat_list": 
    [
        {
            "shopcat_id": 123,
            "shopcat_name": "Food,"
            "f_shopcat_id": 0,
            "cat_level": 1
        },
        ...
    ]
}

# Request Parameter Dxplaination

nothing

# Return parameter specification

parameter type Introductions
Errcode number Error code
errmsg string Error message
shopcat_list[].shopcat_id number Category ID
shopcat_list[].shopcat_name string Classification Name
shopcat_list[].f_shopcat_id number Parent Category ID
shopcat_list[].cat_level number Classification level

# Return code

Return code Type of error
-1 System exception
-2 Token is too long