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

# Dxplaination of Interface Call Request

Recommended Use of New Interface " Get User Service Validity "

http请求方式:POST
https://api.weixin.qq.com/product/service/get_list?access_token=xxxxxxxxx

# Example of request parameters

{}

# Examples of back-up

{
    "errcode": 0,
    "errmsg":"ok",
    "service_list":
    [
        {
            "service_id":   12,
            "service_name": "一键搬家",
            "expire_time":  "2020-08-05 00:00:00",
            "service_type": 2
        }
    ]
}

# Dxplaination of request parameters

nothing

# Dxplaination of callback parameters

参数 type Introductions
errcode number Error code
errmsg string Error message
service_list[].service_id number Service ID
service_list[].service_name string Service Name
service_list[].expire_time string expiration date
service_list[].service_type number Type of service

# Enumeration - service_type

枚举值 describe
2 product
3 order
4 distribution

# Return code

返回码 Error Type
-1 System exceptions
-2 Token too long