API Method ticket_new

This method creates new ticket types for an event, returning the ID of the newly created ticket type. Ticket purchases result in new attendee records.

Request Parameters

Name description
event_id A numeric event ID is required for each ticket type.
is_donation 0 for fixed-price tickets, 1 for donations. 0 will be used by default if not provided.
name The ticket name. (required)
description The ticket description.
price The ticket price. Enter 0.00 for free tickets. Leave blank for a donation amount.
quantity The number of tickets available. Not required for donations.
start_sales The date and time when ticket sales start, in ISO 8601 format (e.g., “2007-12-31 23:59:59″).ISO 8601
end_sales The date and time when ticket sales stop, in ISO 8601 format (e.g., “2007-12-31 23:59:59″).ISO 8601
include_fee 0 to add the Eventbrite service fee on top of ticket price, or 1 to include it in the ticket price. 0 will be used by default if not provided.
min The minimum number of tickets per order.
max The maximum number of tickets per order.

Example Request URL

https://www.eventbrite.com/xml/ticket_new?...&event_id=546213823534
&name=Newticket&price=10.0&quantity=5000

Example Response

<?xml version="1.0" encoding="utf-8" ?>
<process>
	<id>908163459</id>
	<message>ticket_new : complete</message>
	<status>ok</status>
</process>

Method-Specific Errors

More information about error-handling and common error messages are available in our error docs.

error_type error_message
Authentication Error The specified user was not found or the login credentials didn’t match.
Event error The event id is missing.
Not Found No such event [12345678].
Ticket error The total number of tickets exceeds the maximum allowed (50).
Name error The ticket name is missing.
Date error The start sales date is invalid or in the past, expected Format (YYYY-MM-DD HH:MM:SS).
Date error The end sales date is invalid or in the past, expected Format (YYYY-MM-DD HH:MM:SS).
Date inconsistent End sales less than Start Sales.
Date inconsistent Start sales date greater than Event’s Ending date.
Date inconsistent End sales date greater than Event’s Ending date.
Quantity error Please specify the quantity of tickets available.
Quantity error The quantity is invalid, a numeric field is expected.
Quantity error Quantity provided is greater than event capacity [Nnnn].
Price error The price of the ticket is missing or invalid (non-numeric).
Order error The minimum number of tickets per order is invalid (non-numeric) or inconsistent.
Order error The maximum number of tickets per order is invalid (non-numeric) or inconsistent.
Donation error Donation flag must be 0 or 1.
Fee error Service fee must be 0 or 1.

Usage Notes

Authentication
required
Rate-limited
Yes
Output formats
JSON, XML

Related Methods