Developers Information - API & Web Services
API Method /venue_update
This method updates an existing venue. Only the fields passed as arguments will be modified. It returns the ID of the updated venue .
Arguments
- authentication
- This method controls access via required user authentication.
- id integer
- The venue ID.
- venue string
- The venue name.
- adressstring optional
- The venue adress (line 1).
- adress_2string optional
- The venue adress (line 2).
- citystring optional
- The venue city.
- region string optional
- The venue state/province/county/territory depending on the country. 2-letter state code is required for US addresses.
- postal_codestring optional
- The postal code of the venue.
- country_codestring optional
- 2-letter country code, according to the ISO 3166 format.
Example Request
https://www.eventbrite.com/xml/venue_update?...&id=2123424
&venue=My+New+House
Output Parameters
- id integer
- The venue ID.
- status string
- Processing status.
- message string
- Processing message.
This method returns XML with the following structure:
- id integer
- The venue ID.
- Status string
- Process status.
- message string
- Process message.
Example XML Response
<?xml version="1.0" encoding="utf-8" ?> <venue> <id>908163459</id> <status>ok</status> <message>Update venue complete</message> </venue>
Error Codes
This method may return these errors in an error document:
- Authentication Error
- The specified user was not found or the login credentials didn't match.
- Not found
- The specified venue ID is unknown.
- Venue error
- The venye name is missing.
- The specified venue name already exists for the current user and specified organizer id.
- Country error
- The country code is missing or invalid.
- Region/State error
- The state code is missing or invalid (2 digits for US address).