Update Coupon
update_couponModify an existing coupon: enable/disable, change discount, extend end date, adjust usage limit, or rename. Only specified fields are updated.
Instructions
Update a coupon: enable/disable (status 1/0), change discount, extend date_end (YYYY-MM-DD), adjust total-use limit, or rename. Only specified fields are changed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| status | No | ||
| date_end | No | ||
| discount | No | ||
| coupon_id | Yes | ||
| uses_total | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |