# Update coupon status
The initial state of the coupon is 1 and cannot be backtracked to 1 after updating to 2. Status 3, 4 can only be updated by status 2.
# Interface call specification
Http request method: POST
https://api.weixin.qq.com/shop/coupon/update_status?access_token=xxxxxxxxx
# Request Parameter Sample
{
"out_coupon_id": "12345678",
"status": 2
}
# Return Package Example
{
"errcode": 0
}
# Enumerate - status
Enumeration value | Introductions |
---|---|
1 | Not in force, in editing |
2 | Take effect |
3 | Expired |
4 | Cancelled |