# Update the status of coupons
The coupon is initially 1 and cannot be returned to 1 after it is updated to 2. Status 3 and 4 can only be updated by Status 2.
# Instructions for Interface Calls
http请求方式:POST
https://api.weixin.qq.com/shop/coupon/update_status?access_token=xxxxxxxxx
# Example of request parameters
{
"out_coupon_id": "12345678",
"status": 2
}
# Examples of back-up
{
"errcode": 0
}
# Enumeration - status
枚举值 | Introductions |
---|---|
1 | Not in effect, in edit |
2 | Take effect |
3 | It has expired. |
4 | It has been invalidated. |