API Method event_update
This method updates an existing event, returning the event’s id. Event attributes that are omitted will not be modified. Authentication tokens are required.
Request Parameters
| Name | description |
|---|---|
| id | The ID of the event to update. alias: event_id |
| title | The event title. 255 characters max. |
| description | The event description. |
| start_date | The event start date and time, in ISO 8601 format (e.g., “2007-12-31 23:59:59″). |
| end_date | The event end date and time, in ISO 8601 format (e.g., “2007-12-31 23:59:59″). |
| timezone | The event time zone in relation to GMT (e.g., “GMT+01″, “GMT+02″, “GMT-01″) or US Time Zone (“PT” or “US/Pacific”, “MT” or “US/Mountain”, “CT” or “US/Central” or “ET” or “US/Eastern”). |
| privacy | 0 for a private event, 1 for a public event. |
| url | The event registration URL subdomain. Your event will be available at http://<personalized_url>.eventbrite.com. This string is limited to 255 characters max. |
| venue_id | The event venue ID. The venue must have been previously created using /venue_new. |
| organizer_id | The event organizer ID. The organizer must have been previously created using /organizer_new. |
| capacity | The maximum number of people who can attend the event. |
| currency | The event currency in ISO 4217 format (e.g., “USD”, “EUR”). |
| locale | To set or update the event page language, set the locale parameter to a valid Eventbrite supported locale. Currently supported locales are:
|
| status | The event status. Allowed values are “draft”, “live”, “canceled”, “deleted”. |
| custom_header | Custom HTML header for your registration page. Enter a space to reset the custom header. |
| custom_footer | Custom HTML footer for your registration page. Enter a space to reset the custom footer. |
| confirmation_page | Custom text, or HTML+CSS for your event’s order confirmation page. Setting this value to a single URL allows you to redirect attendees to a third-party page upon order completion. |
| confirmation_email | Custom text to include in your order confirmation email. |
| background_color | Custom hexadecimal color for your registration page. Format: FFFFFF without the pound |
| text_color | Custom hexadecimal color for your registration page. Format: FFFFFF without the pound |
| link_color | Custom hexadecimal color for your registration page. Format: FFFFFF without the pound |
| title_text_color | Custom hexadecimal color for your registration page. Format: FFFFFF without the pound |
| box_background_color | Custom hexadecimal color for your registration page. Format: FFFFFF without the pound |
| box_text_color | Custom hexadecimal color for your registration page. Format: FFFFFF without the pound |
| box_border_color | Custom hexadecimal color for your registration page. Format: FFFFFF without the pound |
| box_header_background_color | Custom hexadecimal color for your registration page. Format: FFFFFF without the pound |
| box_header_text_color | Custom hexadecimal color for your registration page. Format: FFFFFF without the pound |
Example Request URL
https://www.eventbrite.com/xml/event_update?...&id=564512354&title=New+Title&description=New+Description
Example Response
<?xml version="1.0" encoding="utf-8" ?> <event> <id>908163459</id> <status>ok</status> <message>event_update : complete</message> </event>
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. |
| Not Found | No such event [12345678]. |
| Date error | The specified start date is invalid or in the past., required format (YYYY-MM-DD HH:MM:SS). |
| Date error | The specified end date is invalid or in the past., required format (YYYY-MM-DD HH:MM:SS). |
| Date error | End date less than or equal to start date . |
| Privacy error | The privacy field must be equal to 0 (public) or 1 (private). |
| Capacity error | Invalid event capacity (Integer). |
| Timezone error | Invalid timezone code (US/Pacific or PT, US/Mountain or MT, US/Central or CT, US/Eastern or ET or GMT+01,GMT+02 or GMT-01,GMT-02, …). |
| Organizer error | The organizer id is invalid or unknown. |
| Organizer error | The organizer id does not belong to the authenticated user. |
| Venue error | The venue id is invalid or unknown. |
| Venue error | The venue id does not belong to the authenticated user or event organizer. |
| Personalized url error | The personalized event URL you selected is already taken, please select another one. |
| Currency error | The given currency is invalid or not supported by Eventbrite. |
| Locale error | The locale is invalid or unsupported. Please make sure you are using the proper locale format (i.e. en_US, fr_FR) |
| Capacity error | The event capacity is invalid (non-numeric). |
| Status error | The valid values for event status are : draft,live,deleted or cancelled. |
| Color error | (Current field) must be formatted as a valid hexadecimal value without the pound. EX: 000000. |