Update the coupon
Dxplaination of Interface Call Request
After the coupon is created, status = 1, can be transferred to 2,4,5
Example of request parameters
Examples of back-up
Dxplaination of request parameters
| 参数 | type | Is it compulsory? | Introductions |
| coupon_id | number | yes | Coupon ID |
| status | number | yes | Coupon Status |
Dxplaination of callback parameters
| 参数 | type | Introductions |
| errcode | number | Error code |
| errmsg | string | Error message |
Enumeration - status
| 枚举值 | describe |
| 2 | Take effect |
| 4 | It has been invalidated. |
| 5 | delete |
Return code
| 返回码 | Error Type |
| -1 | System exceptions |
| -2 | Token too long |
| 9401020 | The parameter is incorrect. |