create_discount
Create a new Eventbrite discount for an organization with public, coded, access, or hold types, set amount or percent off, and target events, ticket classes, or holds.
Instructions
Create a new Discount.
ENDPOINT: POST /organizations/{organization_id}/discounts/
DISCOUNT TYPES:
Public: Displays publicly (single event, no apostrophes/special chars except -_()/)
Coded: Secret code required (no spaces/apostrophes/special chars except -_()/)
Access Code: Secret code for hidden tickets (no spaces/apostrophes/special chars except -_()/)
Hold: Unlock seats on hold
DISCOUNT SCOPE:
event_id + ticket_class_ids: Specific tickets in single event
event_id only: All tickets in single event
ticket_group_id: Ticket Group discount
Neither: All tickets for all organization events (including future)
FIELDS:
code (string, required): Name (public) or code (coded/access)
type (string, required): access, coded, public, hold
amount_off (decimal): Fixed amount 0.01-99999.99 (event currency, 2 decimals)
percent_off (decimal): Percentage 1.00-100.00 (2 decimals)
quantity_available (integer): Usage limit (0 = unlimited)
start_date (local datetime): Usable from (empty = immediately)
start_date_relative (integer): Seconds before event start
end_date (datetime): Usable until (empty = event end_date)
end_date_relative (integer): Seconds before event start
ticket_class_ids (list): Ticket Class IDs (empty = all)
event_id (string): Single Event ID
ticket_group_id (string): Ticket Group ID
hold_ids (list): Hold IDs to unlock
AUTHENTICATION: Requires: Authorization: Bearer PERSONAL_OAUTH_TOKEN
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Discount code/name (required) | |
| type | Yes | Type: access, coded, public, hold (required) | |
| end_date | No | End date (ISO 8601) | |
| event_id | No | Event ID | |
| hold_ids | No | Hold IDs | |
| amount_off | No | Fixed amount off (decimal) | |
| start_date | No | Start date (ISO 8601) | |
| percent_off | No | Percentage off (decimal) | |
| organization_id | Yes | Organization ID (required) | |
| ticket_group_id | No | Ticket Group ID | |
| ticket_class_ids | No | Ticket Class IDs | |
| quantity_available | No | Usage limit (0=unlimited) |