update_coupon
Modify an existing coupon using its ID. Change fields such as code, type, amount, start/end dates, usage limit, or active status directly.
Instructions
Update an existing coupon by id (partial update).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The resource id | |
| data | Yes | Fields to change on the coupon. Common fields: code, type (percentage|fixed), amount, minPurchase, maxDiscount, startDate, endDate, usageLimit, active. |