ThriveCart: Update coupon
thrivecart_update_couponThriveCart: Enable or disable a coupon, or change its discount, dates, use limit or products. Changes one coupon. Disabling keeps the coupon and enabling turns it back on. Discount, dates and the use limit apply to the next buyer. If you add bumps to a product after creating a coupon, send product_ids again, because new bumps are not added automatically. By default you confirm each call; you can switch that off for this tool. Reaches other people: confirm with the user before each call. Needs the user's Cotlet API key with access to this app.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | Yes | Any of status (enabled or disabled), discount, starts_on, ends_on, max_uses, product_ids. | |
| coupon_id | Yes | Coupon ID from list_coupons. |