payments_update_coupon
Update existing coupon details like discount value, type, dates, and usage limits in GoHighLevel payments. Modify coupon properties to keep promotions accurate and current.
Instructions
Update Coupon
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Coupon Id | |
| code | Yes | Coupon Code | |
| name | Yes | Coupon Name | |
| altId | No | Location Id Defaults to GHL_LOCATION_ID when omitted. | |
| altType | No | Alt Type Defaults to GHL_LOCATION_ID when omitted. | |
| endDate | No | End date in YYYY-MM-DDTHH:mm:ssZ format | |
| startDate | Yes | Start date in YYYY-MM-DDTHH:mm:ssZ format | |
| productIds | No | Product Ids | |
| usageLimit | No | Max number of times coupon can be used | |
| discountType | Yes | Discount Type | |
| discountValue | Yes | Discount Value | |
| limitPerCustomer | No | Limits whether a coupon can be redeemed only once per customer. | |
| applyToFuturePayments | No | Is Coupon applicable on upcoming subscription transactions | |
| applyToFuturePaymentsConfig | No | If coupon is applicable on upcoming subscription transactions, how many months should it be applicable for a subscription |