update_discount
Modify existing Eventbrite discounts by adjusting the promotional code, discount amount or percentage, availability dates, and total quantity. Update a discount to correct or change its current settings.
Instructions
Update an existing discount or promotional code.
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": {
"discount_id": "<discount_id>"
},
"name": "update_discount"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | ||
| end_date | No | ||
| amount_off | No | ||
| discount_id | Yes | ||
| percent_off | No | ||
| quantity_available | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |