update_coupon
Modify an existing coupon's code, linked affiliate, payment provider IDs, or status in the Refgrow MCP Server affiliate management system.
Instructions
Update an existing coupon's code, linked affiliate, payment provider IDs, or status.
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": {
"id": "<id>"
},
"name": "update_coupon"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Coupon ID to update | |
| affiliate_id | No | New affiliate ID | |
| coupon_code | No | New coupon code | |
| stripe_coupon_id | No | New Stripe coupon ID | |
| lemonsqueezy_discount_code | No | New LemonSqueezy discount code | |
| status | No | New status |