Introduction

Eventzilla API provides an easy way to integrate and extend Eventzilla for your event organizing requirements. It has predictable, resource-oriented URLs, which are organized around the JSON API. All API methods return responses in JSON format. In Version 1, we started off with the most common scenarios of retrieving data associated with your Eventzilla account. Version 2 introduces the most important capabilities of creating and processing a registration and checking in attendees. We would love to hear your feedback about the available and also hear from you about what else you would like to see in the API in future releases. So please feel free to drop us a line.
To get started with generating your own application x-api-key, use the link below.
GENERATE API KEY

To test the API endpoints, use our Swagger endpoint testing tool: [Click here](https://publicapi.eventzilla.net/v2/swagger "Swagger")

Authentication

In order to send a request to the Eventzilla API, you must generate a API x-api-key by creating a new application within your account settings section **(Settings > App Management)**. You must authenticate your account when using the API by including your API x-api-key in the request. Ensure that your API x-api-key is kept a secret and also remember that you can always disable old x-api-keys and create new ones under your Eventzilla account.
Eventzilla API is accessible only secure HTTPS protocol, so ensure that all requests are sent over **HTTPS** only. #### Sample x-api-key #### ``` x-api-key:565e95b08ad5210001000001bf8fe9787f6f4c674f2fd622844adf23 ```

Filtering

Most of our methods support filtering and you can filter your request by using a field returned by a resource request as a query parameter. A common example would be to filter only live events by using: **/api/event/?status=live** #### API Endpoint #### ``` https://www.eventzillaapi.net/api/v2/events/?status=live ```

Paging

Most of our methods, which return multiple records implement flexible paging in order to make responses faster. Following are the parameters available to use the paging utility with our API methods: #### API Endpoint #### ``` https://www.eventzillaapi.net/api/v2/events?offset=1&limit=2 ``` #### Request Attributes #### | | | |----------: | ----------| |**PARAM**|**USAGE**|**DEFAULT VALUE**|**DESCRIPTION**| |offset __(integer)__ | ?paging[offset]= |0| Records to offset before returning the specified limit | |limit __(integer)__ | ?paging[limit]= |20| Limit of records per response |

Events

A common example would be to find all the **events** by a particular user. The event object represents any event within the user's Eventzilla account #### API Endpoints #### ``` https://www.eventzillaapi.net/api/v2/events/ ```
#### Request Attributes #### | | | |----------: | ----------| |id__(integer)__ | Unique Identifier of the event | |title__(string)__ | Title of the event | |description__(string)__ | Full description of the event in escaped HTML | |currency__(string)__ | Currency used for the event | |start_date__(datetime)__ | Start date for the forst occurance of this event | |end_date__(datetime)__ | End date for the forst occurance of this event | |dateid__(integer)__ | date id for the event on th day | |time_zone__(string)__ | Time zone where this event occurs | |tickets_sold__(integer)__ | Number of tickets sold till date | |tickets_total__(integer)__ | Total tickets available for this event | |status__(string)__ | Status of the event (Live / Draft / Unpublished / Completed) | |show_remaining__(bool)__ | Allow Display no of available tickets | |twitter_hashtag__(string)__ | hashtag to include in auto-tweet | |utc_offset__(string)__ | Time span in hours between the event's time zone and UTC time | |invite_code__(string)__ | invite code of this event | |url__(string)__ | Unique address (URL) for the event | |logo_url__(string)__ | Path of your uploaded logo image | |bgimage_url__(string)__| Path of your uploaded background image | |venue__(string)__ | Event Location Venue Details |

Example Request

curl 'https://www.eventzillaapi.net/api/v2/events/'\
-H "x-api-key: 5da984f26e412e71dbcccc89a7fa8cebe" \
-X GET
#### Sample Result #### ```json { "pagination": [ { "offset": 0, "limit": 20, "total": 2 } ], "events": [ { "id": 2138989212, "title": "Arts Contest", "description": "", "currency": "$", "start_date": "2018-06-15T00:00:00", "start_time": "10:00", "end_date": "2018-06-15T00:00:00", "end_time": "23:00", "time_zone": "Eastern Standard Time", "tickets_sold": 0, "tickets_total": 100, "status": "Completed", "show_remaining": false, "twitter_hashtag": "", "utc_offset": "-05:00", "invite_code": "", "url": "http://events.eventzilla.net/e/arts-contest", "logo_url": "", "bgimage_url": "https://eventzilla_polo.jpg", "venue": null, "dateid": 2138985706 }, { "id": 2138988927, "title": "HopScotch", "description": "", "currency": "$", "start_date": "2018-07-30T00:00:00", "start_time": "10:00", "end_date": "2018-07-30T00:00:00", "end_time": "23:00", "time_zone": "Eastern Standard Time", "tickets_sold": 16, "tickets_total": 100, "status": "Completed", "show_remaining": false, "twitter_hashtag": "", "utc_offset": "-05:00", "invite_code": "", "url": "http://events.eventzilla.net/e/HopScotch", "logo_url": "", "bgimage_url": "https://HopScotch.jpg", "venue": null, "dateid": 2138983295 } ] } ```
#### API Endpoints #### ``` https://www.eventzillaapi.net/api/v2/events/{eventid} ```
#### Request Attributes #### | | | |----------: | ----------| |id__(integer)__ | Unique Identifier of the event | |title__(string)__ | Title of the event | |description__(string)__ | Full description of the event in escaped HTML | |currency__(string)__ | Currency used for the event | |start_date__(datetime)__ | Start date for the forst occurance of this event | |end_date__(datetime)__ | End date for the forst occurance of this event | |dateid__(integer)__ | date id for the event on th day | |time_zone__(string)__ | Time zone where this event occurs | |tickets_sold__(integer)__ | Number of tickets sold till date | |tickets_total__(integer)__ | Total tickets available for this event | |status__(string)__ | Status of the event (Live / Draft / Unpublished / Completed) | |show_remaining__(bool)__ | Allow Display no of available tickets | |twitter_hashtag__(string)__ | hashtag to include in auto-tweet | |utc_offset__(string)__ | Time span in hours between the event's time zone and UTC time | |invite_code__(string)__ | invite code of this event | |url__(string)__ | Unique address (URL) for the event | |logo_url__(string)__ | Path of your uploaded logo image | |bgimage_url__(string)__| Path of your uploaded background image | |venue__(string)__ | Event Location Venue Details |

Example Request

curl 'https://www.eventzillaapi.net/api/v2/events/2138988903'\
-H "x-api-key: 5da984f26e412e71dbcccc89a7fa8cebe" \
-X GET
#### Sample Result #### ```json { "events": [ { "id": 2138988903, "title": "Scinetific Regroup Union", "description": "operation pluto", "currency": "$800", "start_date": "2019-06-29T00:00:00", "start_time": "04:30", "end_date": "2019-06-29T00:00:00", "end_time": "05:30", "time_zone": "Eastern Standard Time", "tickets_sold": 1, "tickets_total": 1100, "status": "Live", "show_remaining": false, "twitter_hashtag": "", "utc_offset": "-05:00", "invite_code": "", "url": "http://www.nasa.com/scientific/meet/18", "logo_url": "", "bgimage_url": "https://earth_mass.jpg", "venue": "virtual event", "dateid": 2138983274 } ] } ```



Tickets

GETReturns an tickets (ticket category) for the specified event

#### API Endpoint #### ``` https://www.eventzillaapi.net/api/v2/events/{eventid}/tickets ```
#### Request Attributes #### | | | |----------: | ----------| |id __(integer)__ | Unique Identifier for this tickets | |title __(string)__ | title of the ticket category | |quantity_total__(string)__ | total no of ticket quantity | |price__(string)__ | Price of tickets | |description __(string)__ | Full discription of the tickets | |sales_start_date__(string)__ | Sales start date for the tickets| |sales_start_time__(integer)__ | start time | |sales_end_date__(integer)__ | Sales end date for the tickets | |sales_end_time__(string)__ | Sales end time for the tickets | |group_discount__(string)__ | group discouunt of tickets, if applicable | |group_percentage__(string)__ | group percentage of tickets, if applicable | |group_price__(string)__ | group price of tickets, if applicable | |additional_instructions__(string)__ | Full additional description of tickets | |unlock_code__(string)__ | unlock code of specified tickets, if applicable | |ticket_type__(string)__ | ticket category(Paid/Free/Partial/Addons/donation/Approval/) | |isvisible__(bool)__ | Display the ticket category in sale page(Hide/Show) | |boxoffice_only__(string)__ | Allow to boxoffice sale, if applicable | |allow_partial_payment__(string)__ | Allow to partial payment of tickets , if applicable | |limit_minimum__(string)__ | minimum limit of selected quantity | |limit_maximum__(string)__ | maximum limit of selected quantity | |partial_payment_installments__(string)__ | No of installment for the partial payment | |partial_payment_frequency__(string)__ | Frequency of partial payment(Monthly/Weekly) | |partial_payment_amount__(string)__ | Splitted partial payment amount |

Example Request

curl 'https://www.eventzillaapi.net/api/v2/events/2138981848/tickets'\
-H "x-api-key: 5da984f26e412e71dbcccc89a7fa8cebe" \
-X GET
#### Sample Result #### ```json { "tickets": [ { "id": 2138981848, "title": "Magic show ticket ", "quantity_total": 100, "price": 0, "description": "tickets for entertainment", "sales_start_date": "2018-06-12T00:00:00", "sales_start_time": "00:00", "sales_end_date": "2018-07-30T00:00:00", "sales_end_time": "10:00", "group_discount": 0, "group_percentage": 0, "group_price": 0, "additional_instructions": "", "unlock_code": "", "ticket_type": "Platinum", "boxoffice_only": false, "is_visible": true, "limit_minimum": 1, "limit_maximum": 10, "allow_partial_payment": false, "partial_payment_installments": 0, "partial_payment_frequency": "", "partial_payment_amount": 0 } ], "donation": [] } ```



Transactions

GETGet Individual transaction details for spcified event.

#### API Endpoint #### ``` https://www.eventzillaapi.net/api/v2/events/{eventid}/transactions ```
#### Request Attributes #### | | | |----------: | ----------| |transaction_ref__(string)__ | Order Reference for this transaction | |id__(integer)__ | Unique Identifier for this transaction | |transaction_date__(string)__ | Timestamp of this transaction | |transaction_amount__(string)__ | Transaction amount | |tickets_in_transaction__(string)__ | Number of tickets / attendees in this transaction | |event_date __(datetime)__ | Event date for which this transaction corressponds to | |transaction_status__(string)__ | Transaction Status (Confirmed/Pending/Cancelled/Incomplete) | |user_id__(integer)__ | Unique Identifier of the buyer for this transaction | |event_id__(integer)__ | Unique Identifier of the event for this transaction | |title__(string)__ | Title of the event for this transaction | |email__(string)__ | Email address of the buyer | |buyer_first_name__(string)__ | First name of the buyer | |buyer_last_name__(string)__ | Last name of the buyer | |promo_code__(string)__ | Discount code used in this transaction, if applicable | |payment_type__(string)__ | Payment method used in this transaction, if applicable |

Example Request

curl 'https://www.eventzillaapi.net/api/v2/events/8852213898/transactions'\
-H "x-api-key: 5da984f26e412e71dbcccc89a7fa8cebe" \
-X GET
#### Sample Result #### ```json { "pagination": [ { "offset": 0, "limit": 20, "total": 5 } ], "transactions": [ { "transaction_ref": "2018823145-178028", "id": 2138868785, "transaction_date": "2018-08-01T14:20:20", "transaction_amount": "$13.17", "tickets_in_transaction": 3, "event_date": "2018-07-31T15:00:00", "transaction_status": "Pending", "user_id": 42628, "event_id": 2138988852, "title": "Event Checking", "email": "AKthomas@xyz.com", "buyer_first_name": "AK", "buyer_last_name": "Thomas", "promo_code": "", "payment_type": "Bank" }, { "transaction_ref": "2018723145-177631", "id": 2138869378, "transaction_date": "2018-07-20T14:28:28", "transaction_amount": 158.04, "tickets_in_transaction": 14, "event_date": "2018-07-31T15:00:00", "transaction_status": "Pending", "user_id": 42628, "event_id": 2138988852, "title": "Event Checking", "email": "atdclientapiorder2138988852@eventzilla.net", "buyer_first_name": "At", "buyer_last_name": " the door", "promo_code": "", "payment_type": "Bank" } ] } ```



Attendees

GETGet attendees details for specified event.

#### API Endpoints #### ``` https://www.eventzillaapi.net/api/v2/events/{eventid}/attendees ```
#### Request Attributes #### | | | |----------: | ----------| |first_name__(string)__ | First name of this attendee | |last_name__(string)__ | Last name of this attendee | |ticket_type__(string)__ | Ticket / Registration type registered by this attendee | |bar_code__(string)__ | Unique bar code associated with this attendee | |is_attended__(string)__ | Checked-in / attendence status of this attendee | |transaction_ref__(string)__ | Order Reference for this transaction | |questionid__(string)__ | Unique identifier of question | |questions__(string)__ | Full question | |answer__(string)__ | Full answer | |id__(string)__ | Unique Identifier for this transaction| |transaction_date__(string)__ | Timestamp of this transaction | |transaction_amount__(string)__ | Transaction amount | |event_date__(string)__ | Event date for which this transaction corressponds to | |user_id__(string)__ | Unique Identifier for this transaction | |event_id__(string)__ | event id | |title__(string)__ | Title of the event | |email__(string)__ | Email address of the buyer | |buyer_first_name__(string)__ | First name of the buyer | |buyer_last_name__(string)__ | Last name of the buyer | |payment_type__(string)__ | Payment method used in this transaction, if applicable |

Example Request

curl 'https://www.eventzillaapi.net/api/v2/events/{eventid}/attendees'\
-H "x-api-key: 5da984f26e412e71dbcccc89a7fa8cebe" \
-X GET
#### Sample Result #### ```json { "attendees": [ { "first_name": "John", "last_name": "H Watson", "ticket_type": "A Class", "bar_code": "15986598635445", "is_attended": "yes", "questions": [ { "questions": "social profile", "answer": "yes" } ], "transaction_ref": "20163458-8954", "id": 56894125, "transaction_date": "2018-07-17T07:53:50.832Z", "transaction_amount": 50, "tickets_in_transaction": 2, "event_date": "2018-07-17T07:53:50.832Z", "transaction_status": "confirmed", "user_id": 213564, "event_id": 9841321, "title": "Sherlock Holmes Drama", "email": "johnwatson@abc.com", "buyer_first_name": "John", "buyer_last_name": "H Watson", "promo_code": null, "payment_type": "cheque" }] } ```



Toggle Sales

Event sale page Publish / Unpublish #### API Endpoints #### ``` https://www.eventzillaapi.net/api/v2/events/togglesales ```

#### Request Attributes #### | | | |----------: | ----------| |eventid__(integer)__ | * event id | |status__(boolean)__ | * true - publish, false - unpublish | #### Response Attributes #### | | | |----------: | ----------| |eventstatus__(string)__ | event status result|

Example Request

curl 'https://www.eventzillaapi.net/api/v2/events/012354/attendees'\
-H "x-api-key: 5da984f26e412e71dbcccc89a7fa8cebe" \
-H "content-type: application/json" \
-DATA '{"eventid":012354,"status":true}'
-X POST
#### Sample Result #### ```json { "eventstatus":"published" } ```



Event Orders

Event Order Confirmation.

#### API Endpoints #### ``` https://www.eventzillaapi.net/api/v2/event/order/confirm ```
#### Request Attributes #### | | | |----------: | ----------| |checkout_id__(integer)__ | * Unique Indentifier of checkout | |eventid__(integer)__ | * Unique Indentifier of Event | |comments__(string)__ | * Valid comment for confirmation |

Example Request

curl 'https://www.eventzillaapi.net/api/v2/event/order/confirm'\
-H "x-api-key: 5da984f26e412e71dbcccc89a7fa8cebe" \
-H "content-type: application/json" \
-DATA '{"checkout_id":12345,"eventid":012354,"comments":"string"}'
-X POST
#### Sample Result #### ```json { "orderconfirm":"success" } ```


Event Order Cancellation.

#### API Endpoints #### ``` https://www.eventzillaapi.net/api/v2/event/order/cancel ```
#### Request Attributes #### | | | |----------: | ----------| |checkout_id__(integer)__ | * Unique Indentifier of checkout | |eventid__(integer)__ | * Unique Indentifier of Event | |comments__(string)__ | * Valid comment for cancellation |

Example Request

curl 'https://www.eventzillaapi.net/api/v2/event/order/cancel'\
-H "x-api-key: 5da984f26e412e71dbcccc89a7fa8cebe" \
-H "content-type: application/json" \
-DATA '{"checkout_id":12345,"eventid":012354,"comments":"string"}'
-X POST
#### Sample Result #### ```json { "ordercancel":"success" } ```

Users

GETOrganizer and sub-organizer response details

#### API Endpoints #### ``` https://www.eventzillaapi.net/api/v2/users/ ```
#### Request Attributes #### | | | |----------: | ----------| |id__(integer)__ | Unique Identifier of the organizer for this account | |username__(string)__ | organizer username | |first_name__(string)__ | first_name of the organizer | |last_name__(string)__ | lastname of the organizer | |company__(string)__ | organizer company name | |address_line1__(string)__ | address line1 of the organizer | |address_line2__(string)__ | address line2 of the organizer | |address_locality__(string)__ | address locality of organizer | |address_region__(string)__ | address region of organizer | |address_country__(string)__ | address country to use for address | |zip_code__(string)__ | zip code | |email__(string)__ | organizer email id | |timezone__(string)__ | Time zone of this organizer | |website__(string)__ | organizer website | |phone_primary__(string)__ | primary phone | |avatar_url__(string)__ | Path of your uploaded avatar image | |facebook_id__(string)__ | Registered facebook URL | |twitter_id__(string)__ | Registered twitter URL | |last_seen__(string)__ | lastupdated of this organizer account | |user_type__(string)__ | Represent the usertype(organizer/sub-organizer) |

Example Request

curl 'https://www.eventzillaapi.net/api/v2/users/'\
-H "x-api-key: 5da984f26e412e71dbcccc89a7fa8cebe" \
-X GET
#### Sample Result #### ```json { "pagination": [ { "offset": 0, "limit": 20, "total": 20 } ], "users": [ { "id": 2130004479, "username": "edgar.0893@gmail.com", "first_name": "Edgar", "last_name": "Reade", "company": "MTA", "address_line1": "", "address_line2": "", "zip_code": "", "address_locality": "", "address_region": "", "address_country": "United States", "email": "edgar.0893@gmail.com", "timezone": "Eastern Standard Time", "website": "", "phone_primary": "7148887020", "avatar_url": "", "facebook_id": "", "twitter_id": "", "last_seen": "2018-07-03T08:21:37", "user_type": "organizer" } ] } ```
#### API Endpoints #### ``` https://www.eventzillaapi.net/api/v2/users/{userid} ```
#### Request Attributes #### | | | |----------: | ----------| |id__(integer)__ | Unique Identifier of the organizer for this account | |username__(string)__ | organizer username | |first_name__(string)__ | first_name of the organizer | |last_name__(string)__ | lastname of the organizer | |company__(string)__ | organizer company name | |address_line1__(string)__ | address line1 of the organizer | |address_line2__(string)__ | address line2 of the organizer | |address_locality__(string)__ | address locality of organizer | |address_region__(string)__ | address region of organizer | |address_country__(string)__ | address country to use for address | |zip_code__(string)__ | zip code | |email__(string)__ | organizer email id | |timezone__(string)__ | Time zone of this organizer | |website__(string)__ | organizer website | |phone_primary__(string)__ | primary phone | |avatar_url__(string)__ | Path of your uploaded avatar image | |facebook_id__(string)__ | Registered facebook URL | |twitter_id__(string)__ | Registered twitter URL | |last_seen__(string)__ | lastupdated of this organizer account | |user_type__(string)__ | Represent the usertype(organizer/sub-organizer) |

Example Request

curl 'https://www.eventzillaapi.net/api/v2/users/2130004479'\
-H "x-api-key: 5da984f26e412e71dbcccc89a7fa8cebe" \
-X GET
#### Sample Result #### ```json { "users": [ { "id": 2130004479, "username": "edgar.0893@gmail.com", "first_name": "Edgar", "last_name": "Reade", "company": "MTA", "address_line1": "", "address_line2": "", "zip_code": "", "address_locality": "", "address_region": "", "address_country": "United States", "email": "edgar.0893@gmail.com", "timezone": "Eastern Standard Time", "website": "", "phone_primary": "7148887020", "avatar_url": "", "facebook_id": "", "twitter_id": "", "last_seen": "2018-07-03T08:21:37", "user_type": "organizer" } ] } ```

Transactions

GETGet Individual transaction details for specified transaction id.

#### API Endpoints #### ``` https://www.eventzillaapi.net/api/v2/transactions/{transactionid} ```
#### Request Attributes #### | | | |----------: | ----------| |transaction_ref__(string)__ | Order Reference for this transaction | |id__(integer)_ | Unique Identifier for this transaction | |transaction_date__(string)__ | Timestamp of this transaction | |transaction_amount__(string)__ | Transaction amount | |tickets_in_transaction__(string)__ | Number of tickets / attendees in this transaction | |event_date __(datetime)__ | Event date for which this transaction corressponds to | |transaction_status__(string)__ | Transaction Status (Confirmed/Pending/Cancelled/Incomplete) | |buyer_id__(integer)__ | Unique Identifier of the buyer for this transaction | |event_id__(integer)__ | Unique Identifier of the event for this transaction | |title__(string)__ | Title of the event for this transaction | |email__(string)__ | Email address of the buyer | |buyer_first_name__(string)__ | First name of the buyer | |buyer_last_name__(string)__ | Last name of the buyer | |promo_code__(string)__ | Discount code used in this transaction, if applicable | |payment_type__(string)__ | Payment method used in this transaction, if applicable |

Example Request

curl 'https://www.eventzillaapi.net/api/v2/transactions/{transactionid}'\
-H "x-api-key: 5da984f26e412e71dbcccc89a7fa8cebe" \
-X GET
#### Sample Result #### ```json { "transaction": [ { "transaction_ref": "2018723145-177631", "id": 2138869378, "transaction_date": "2018-07-20T14:28:28", "transaction_amount": 158.04, "tickets_in_transaction": 14, "event_date": "2018-07-31T15:00:00", "transaction_status": "Pending", "user_id": 42628, "event_id": 23145, "title": "Marvel Entries", "email": "marryjane@xyz.net", "buyer_first_name": "marry", "buyer_last_name": "jane", "promo_code": "", "payment_type": "Bank" } ] } ```

Attendees

GET Get Individual attendees details for specified attendee information.

#### API Endpoints #### ``` https://www.eventzillaapi.net/api/v2/attendees/{attendeeid} ```
#### Request Attributes #### | | | |----------: | ----------| |first_name__(string)__ | First name of this attendee | |last_name__(string)__ | Last name of this attendee | |ticket_type__(string)__ | Ticket / Registration type registered by this attendee | |bar_code__(string)__ | Unique bar code associated with this attendee | |is_attended__(string)__ | Checked-in / attendence status of this attendee | |transaction_ref__(string)__ | Order Reference for this transaction | |questions__(string)__ | Full question | |answer__(string)__ | Full answer | |id__(string)__ | Unique Identifier for this transaction| |transaction_date__(string)__ | Timestamp of this transaction | |transaction_amount__(string)__ | Transaction amount | |transaction_status__(string)__ | Event date for which this transaction corressponds to | |title__(string)__ | Title of the event | |email__(string)__ | Email address of the buyer | |buyer_first_name__(string)__ | First name of the buyer | |buyer_last_name__(string)__ | Last name of the buyer | |payment_type__(string)__ | Payment method used in this transaction, if applicable |

Example Request

curl 'https://www.eventzillaapi.net/api/v2/events/attendees/5874321'\
-H "x-api-key: 5da984f26e412e71dbcccc89a7fa8cebe" \
-X GET
#### Sample Result #### ```json { "attendees": [ { "first_name": "Kurt", "last_name": "Weller", "ticket_type": "kurtw@xyz.com", "bar_code": "E098986516156112", "is_attended": "yes", "questions": [ { "questions": "are you already attend past event", "answer": "yes" } ], "transaction_ref": "05648", "id": 5462031, "event_date": "2018-07-17T07:53:50.832Z", "event_id": 354125, "transaction_date": "2018-07-17T07:53:50.832Z", "transaction_amount": $3, "transaction_status": "confirmed", "title": "EventZilla", "email": "kurtw@xyz.com", "buyer_first_name": "Kurt", "buyer_last_name": "Weller", "payment_type": null } ] } ```

Update Checkin/ Revert Checkin for attendees

#### API Endpoints #### ``` https://www.eventzillaapi.net/api/v2/attendee/checkin ```
#### Request Attributes #### | | | |----------: | ----------| |barcode__(string)__ | Unique code of attenddee in ticket available. | |eventcheckin__(boolean)__ | true - CheckIn , false - Revert CheckIn | #### Response Attributes #### | | | |----------: | ----------| |first_name__(string)__ | Attendee Firstname | |last_name__(string)__ | Attendee Lastname | |eventtitle__(string)__ | Event Title | |orderref__(string)__ | Event order reference | |email__(string)__ | Attendee Email-id | |status__(string)__ | Check-In/ Checkout Status |

Example Request

curl 'https://www.eventzillaapi.net/api/v2/attendee/checkin'\
-H "x-api-key: 5da984f26e412e71dbcccc89a7fa8cebe" \
-DATA '{"barcode":"E098986516156112","eventcheckin":"true"}'
-X POST
#### Sample Result #### ```json { "first_name": "Kurt", "last_name": "Weller", "eventtitle": "EventZilla", "orderef": "05648", "email": "kurtw@xyz.com", "status": "Checkin" } ```

Checkout

GET Checkout / Prepare

#### API Endpoints #### ``` https://www.eventzillaapi.net/api/v2/checkout/prepare/{eventid}/{dateid} ```
#### Request Attributes #### | | | |----------: | ----------| |payment_options__(object array)__ | All payment options except Eventzilla Payments | |ticket_types__(object array)__ | List of tickets categories available for event | |questions__(object array)__ | Question details for additional validation for ticket purchase | |discount_enabled__(boolean)__ | discount option for tickets | |tax_enabled__(boolean)__ | tax for the event tickets | |tax__(object array)__ | tax information for event tickets |

Example Request

curl 'https://www.eventzillaapi.net/api/v2/checkout/prepare/654321/863423'\
-H "x-api-key: 5da984f26e412e71dbcccc89a7fa8cebe" \
-X GET
#### Sample Result #### ```json { "payment_options": [ { paymentoption_id:5698, paymentoption_name:"cash", paymentoption_instructions:"conditions applied" } ], "ticket_types":[ { "tickettype_id":5689, "tickettype_name":"box office ticket", "tickettype_price": $2.5, "tickettype_min_limit":2, "tickettype_max_limit":10, "tickettype_avail_quantity":5, "tickettype_onsale":true } ], questions:[ { "question_id":1245 "question_type":txt "question_text":"Will u refer your friend" "question_choices":[ "yes", "no" ], "question_waiver":"agreed all terms and conditions." } ], "discount_enabled": true, "tax_enabled": true, "tax": [ { "tax_type":inclusive, "tax_name":VAT, "tax_value":2% } ] } ```

Checkout / Create

#### API Endpoints #### ``` https://www.eventzillaapi.net/api/v2/checkout/create ```
#### Request Attributes #### | | | |----------: | ----------| |eventid__(integer)__ | event id | |eventdateid__(integer)__ | event date | |ticket_types__(object array)__ | ticket information (ticket type & counts) | |discount_code__(string)__ | discount code for event tickets | #### Response Attributes #### | | | |----------: | ----------| |checkoutid__(integer)__ | ticket category | |transaction_ref__(string)__ | transaction refernce id | |transaction_total__(double)__ | transaction amount | |transaction_tax__(double)__ | transaction amount tax charges | |transaction_discount__(double)__ | transaction amount discount charges | |transaction_status__(string__)| transaction status indication | |eventzilla_fee__(double)__ | sucess information | |tickets__(object array)__ | booked event ticket details |

Example Request

curl 'https://www.eventzillaapi.net/api/v2/checkout/create'\
-H "x-api-key: 5da984f26e412e71dbcccc89a7fa8cebe" \
-H "content-type: application/json" \
-X POST
-DATA '{
    "eventid":654321,
    "eventdateid":863423,
    "ticket_types":[
        {
            "ticket_typeid":5689,
            "quantity":5
        }
    ],
    "discount_code":"EVENTZILLA20"
}'
#### Sample Result #### ```json { "checkout_id": 21388601015, "transaction_ref": "2018823382-178432", "transaction_total": $102.49, "transaction_tax": 0.0, "transaction_discount": 0.0, "eventzilla_fee": 0.0, "tickets": [ { "ticket_price_id": 1362622, "ticket_type_id": 32931, "ticket_type_name": "Platinum" }, { "ticket_price_id": 1362623, "ticket_type_id": 32930, "ticket_type_name": "A class" }, { "ticket_price_id": 1362624, "ticket_type_id": 32930, "ticket_type_name": "A Class" }, { "ticket_price_id": 1362625, "ticket_type_id": 32930, "ticket_type_name": "A class" } ] }```

Checkout / Fill

#### API Endpoints #### ``` https://www.eventzillaapi.net/api/v2/checkout/fillorder ```
#### Request Attributes #### | | | |----------: | ----------| |eventid__(integer)__ | event id | |eventdateid__(integer)__ | event schedule date | |checkout_id__(integer)__ | checkout id | |buyerdetails__(object)__ | buyer information (name, emailid, secret questions) | |tickets__(object)__ | ticketee information (ticket_price_id,name, emailid, secret questions)| |payment_id__(integer)__ | payment information id | #### Response Attributes #### | | | |----------: | ----------| |checkoutid__(integer)__ | event id | |transaction_ref__(string)__ | transaction reference information | |transaction_total__(double)__ | totat price amount | |transaction_tax__(double)__ | tax amount | |transaction_discount__(double)__ | discount value | |eventzilla_fee__(double)__ | eventzilla fee for tickets

Example Request

curl 'https://www.eventzillaapi.net/api/v2/checkout/fillorder'\
-H "x-api-key: 5da984f26e412e71dbcccc89a7fa8cebe" \
-H "content-type: application/json" \
-X POST \
-DATA '{
    "eventid":654321,
    "eventdateid":863423,
    "checkout_id":456322,	 
    "buyerdetails": [
        {	 
            "buyer_firstname": "Dane",	 	 
            "buyer_lastname": "Joe", 
            "buyer_email" "danejoe@xyz.com",	 	 	 
            "answers:[
                {	 	 
                    "question_id":299,	 	 	 
                    "answer_text":"female"
                },
                {	 	 
                    "question_id":399,	 	 	 
                    "answer_text":"no"
                }
            ]
        }
    ],	 	 	 
    "tickets":[
	"ticket_price_id":15989,
        "first_name":"Max", 	 	 
        "last_name":"well",	 	 	 
        "email":"john@xyz.com", 	 
        "answers:[
            {	 	 
                "question_id":299,	 	 	 
                "answer_text":"eventzilla"
            }
        ]
    ],	 	 	 
    "payment_id":"56412"
}'
#### Sample Result #### ```json { "checkout_id":456322, "transaction_ref":"56225-456322", "transaction_total":$20, "transaction_tax":$2.3, "transaction_discount":0.0, "transaction_status":"confirmed", "eventzilla_fee":$5.63 } ```

Checkout / Confirm

#### API Endpoints #### ``` https://www.eventzillaapi.net/api/v2/checkout/confirm ```
#### Request Attributes #### | | | |----------: | ----------| |eventid__(integer)__ | Unique Identifier of the event | |eventdateid__(integer)__ | Unique Identifier of the event schedule date | |checkoutid__(integer)__ | checkout information id | |payment_status__(string)__ | payment status | #### Response Attributes #### | | | |----------: | ----------| |checkoutid__(integer)__ | Unique Identifier of the event | |transaction_ref__(string)__ | transaction refernce code | |transaction_total__(double)__ | transaction refernce code | |transaction_tax__(double)__ | transaction refernce code | |transaction_discount__(double)__ | transaction refernce code | |eventzilla_fee__(double)__ | eventzilla fee amount | |transaction_status__(string)__ | checkout transaction status |confirmation_email_sent__(bool)__ | ticket send to buyer email address.

Example Request

curl 'https://www.eventzillaapi.net/api/v2/checkout/confirm'\
       
-H "x-api-key: 5da984f26e412e71dbcccc89a7fa8cebe" \
-H "content-type: application/json"\
-X POST \
-DATA '{
    "eventid":654321
    "eventdateid":863423
    "checkout_id":456322,
    "payment_status":"success"
}'
#### Sample Result #### ```json { "checkout_id" : "456322" "transaction_ref" : "56225-456322" "transaction_total" : $5.0 "transaction_tax" : $7.0 "transaction_discount: 0.00 "eventzilla_fee" : $3.0 "transaction_status":"confirmed", "confrimation_email_sent":true } ```