# Get a list of user coupons
# Interface call specification
Http request method: POST
https://api.weixin.qq.com/shop/coupon/get_usercoupon_list?access_token=xxxxxxxxx
# Request Parameter Sample
{
"page_size": 2,
"offset": 1,
"openid": "oIJ9d5Ad4JMhbybqJ3_J73LkR_Me"
}
# Return Package Example
{
"errcode": 0,
"total_in a": 3,
"result_list": [{
"out_user_coupon_id": "out_user_coupon_id_1",
"openid": "oIJ9d5Ad4JMhbybqJ3_J73LkR_I",
"out_coupon_id": "coupon_id_1",
"status": 100,
"create_time": 1625474308,
"update_time": 1625474308,
"end_time": 1625464250,
"ext_info": {},
"start_time": 1625451250
}, {
"out_user_coupon_id": "out_user_coupon_id_2",
"openid": "oIJ9d5Ad4JMhbybqJ3_J73LkR_I",
"out_coupon_id": "out_coupon_id_3",
"status": 102,
"create_time": 1625237877,
"update_time": 1625237997,
"end_time": 0,
"ext_info": {
"use_time": 1625237997
},
"start_time": 0
}]
}
# Request Parameter Dxplaination
parameter | type | Introductions |
---|---|---|
page_size | number | Page size, up to 200 |
offset | number | Offset, starting at 0 |
# Return parameter specification
parameter | type | Introductions |
---|---|---|
total_A | number | total |
result_list.out_user_coupon_id | string | Merchant User Coupon ID |
result_list.openid | string | openid |
result_list.out_coupon_id | string | Merchant Side Coupon ID |
result_list.status | number | User Coupon Status |
result_list.create_time | number | User coupon creation time |
result_list.update_time | number | User coupon update time |
result_list.start_time | number | User coupon valid start time |
result_list.end_time | number | User coupon valid end time |
result_list.ext_info.use_time | number | Write-off time |