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
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>",
"code": "<code>",
"discountType": "<discountType>",
"discountValue": "<discountValue>",
"startDate": "<startDate>",
"id": "<id>"
},
"name": "payments_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 |