# Get a list of services purchased by users within the validity period

# Interface call request specification

New interface recommended “Get User Service Validity

Http request method: POST
https://api.weixin.qq.com/product/service/get_list?access_Token = xxxxxxxxx

# Request Parameter Sample

{}

# Return Package Example

{
    "errcode": 0,
    "errmsg":"ok",
    " service_list":
    [
        {
            " service_id":   12,
            " service_name": "One key move,"
            "expire_time":  "2020-08-05 00:00:00",
            " service_type": 2
        }
    ]
}

# Request Parameter Dxplaination

nothing

# Return parameter specification

parameter type Introductions
Errcode number Error code
errmsg string Error message
service_list[].service_id number Service ID
service_list[].service_name string Name of service
service_list[].expire_time string Expiration Time
service_list[].service_type number Type of service

# Enumerate - service _type

Enumeration value describe
2 product
3 order
4 distribution

# Return code

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