update_ticket_class
Modify an existing Eventbrite ticket class by updating fields such as name, cost, quantity, sales dates, or visibility for an event.
Instructions
Update an existing Ticket Class for an event.
ENDPOINT: POST /events/{event_id}/ticket_classes/{ticket_class_id}/
Supports partial updates. After May 7, 2020, inventory_tier_id is required for tiered events.
TICKET CLASS OBJECT - PUBLIC FIELDS (can be updated):
name (string): Ticket Class name
description (string): Ticket Class description
sorting (integer): Order in purchase flow
cost (currency): Display cost (format: "CURRENCY,amount_in_cents" e.g., "USD,1000" for $10.00)
donation (boolean): Is donation ticket
free (boolean): Is free ticket
minimum_quantity (integer): Minimum tickets per Order
maximum_quantity (integer): Maximum tickets per Order
delivery_methods (array): electronic, will_call, standard_shipping, third_party_shipping
image_id (string): Image ID for ticket class
TICKET CLASS OBJECT - PRIVATE FIELDS (can be updated):
quantity_total (integer): Total number available
capacity (integer): Number available for sale
hidden (boolean): Hidden from public
sales_start (string): When sales begin (ISO 8601 datetime)
sales_end (string): When sales end (ISO 8601 datetime)
sales_start_after (string): Ticket Class ID that triggers sales start
include_fee (boolean): Fee included in price (cannot use with split_fee)
split_fee (boolean): Fee shown separately
hide_description (boolean): Hide description on listing page
hide_sale_dates (boolean): Hide sale dates on event page
auto_hide (boolean): Hide when not for sale
auto_hide_before (datetime): Override auto-hide disable time
auto_hide_after (datetime): Override auto-hide enable time
inventory_tier_id (string): Inventory tier ID (required for tiered events)
order_confirmation_message (string): Message when Order completed
secondary_assignment_enabled (boolean): Secondary barcode assignment (RFID)
POSSIBLE ERRORS (400):
AUTO_HIDE_NOT_SET: Must select auto hide setting
BAD_QUANTITIES: Sum of tickets doesn't equal total available
COST_GREATER_THAN_FEE: Cost must be greater than fee
CURRENCY_MISMATCH: Event and ticket currency must match
DONATION_AND_COST: Cannot be both donation and charged ticket
DONATION_AND_FREE: Cannot be both donation and free ticket
DONATION_AND_MIN_QUANTITY: Set minimum quantity for donation ticket
FREE_AND_COST: Cannot be both free and charged ticket
INSUFFICIENT_PACKAGE: Need to upgrade package
INVALID_DELIVERY_METHOD: Delivery method not allowed for this organization
INVALID_EVENT: Event not qualified to have tickets
INVALID_EVENT_ID: Event ID must match ticket's event
INVALID_INVENTORY_TIER_ID: Cannot change inventory tier of ticket
AUTHENTICATION: Requires: Authorization: Bearer PERSONAL_OAUTH_TOKEN
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cost | No | Cost (CURRENCY,cents) | |
| free | No | Is free | |
| name | No | Ticket name | |
| hidden | No | Is hidden | |
| donation | No | Is donation | |
| event_id | Yes | Event ID (required) | |
| auto_hide | No | Auto-hide when not on sale | |
| sales_end | No | Sales end (ISO 8601) | |
| description | No | Ticket description | |
| include_fee | No | Include fee in price | |
| sales_start | No | Sales start (ISO 8601) | |
| quantity_total | No | Total available | |
| auto_hide_after | No | Auto-hide after time | |
| hide_sale_dates | No | Hide sale dates | |
| ticket_class_id | Yes | Ticket Class ID (required) | |
| auto_hide_before | No | Auto-hide before time | |
| delivery_methods | No | Delivery methods | |
| hide_description | No | Hide description | |
| maximum_quantity | No | Max per order | |
| minimum_quantity | No | Min per order | |
| inventory_tier_id | No | Inventory tier ID | |
| sales_start_after | No | Trigger ticket ID | |
| order_confirmation_message | No | Confirmation message | |
| secondary_assignment_enabled | No | Secondary barcode enabled |