API Method venue_new
This method creates a new venue. It returns the ID of the newly created venue.
Request Parameters
| Name | description |
|---|---|
| organizer_id | The ID of the related organizer. (required) |
| name | The venue name. (required) |
| address | The venue adress (line 1). |
| address_2 | The venue adress (line 2). |
| city | The venue city. |
| region | The venue state/province/county/territory depending on the country. 2-letter state code is required for US addresses. |
| postal_code | The postal code of the venue. (optional) |
| country_code | 2-letter country code, according to the ISO-3166-1 alpha-2 format. |
Example Request URL
https://www.eventbrite.com/xml/venue_new?...&organizer_id=1234 &venue=My+House&adress=5th+Avenue
Example Response
<?xml version="1.0" encoding="utf-8" ?> <process> <id>908163459</id> <message>venue_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. |
| Organizer error | The organizer ID is missing. |
| Organizer error | The specified organizer ID is unknown or Invalid. |
| Organizer error | The specified organizer ID does not Belong to current user. |
| Venue error | The venue name is missing. |
| Venue error | The specified venue name already exists for the current user and specified organizer id. |
| Country error | The country code is missing. |
| Country error | The country code is invalid. |
| Region error | The state code is missing or invalid (2 digits for US address). |
| Region error | The state code is missing or invalid (2 digits for US address). |