create_organization_discount
Create discount or access codes for an organization or event, choosing from access, coded, hold, or public types.
Instructions
Create a discount or access code for an organization or event. type: 'access', 'coded', 'hold', 'public'
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": {
"organization_id": "<organization_id>",
"code": "<code>",
"type": "<type>"
},
"name": "create_organization_discount"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | ||
| type | Yes | ||
| value | No | ||
| end_date | No | ||
| event_id | No | ||
| amount_off | No | ||
| start_date | No | ||
| percent_off | No | ||
| organization_id | Yes | ||
| ticket_class_ids | No | ||
| quantity_available | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |