Additional Dates in API: On Sale, Presale, Event Date

53 views
Skip to first unread message

Adam Stepansky

unread,
Jan 17, 2021, 1:10:03 PM1/17/21
to Eventbrite Developers
Are the following dates in the API?

- On Sale
- Presale
- Event Date

Thanks!

Adam Stepansky

unread,
Jan 26, 2021, 8:19:09 AM1/26/21
to Eventbrite Developers
Sorry to bother you all - just following up :)

Adam Stepansky

unread,
Feb 1, 2021, 11:50:22 AM2/1/21
to Eventbrite Developers
Following up again to see if any information is available. :)

Natalie Blikslager

unread,
Feb 1, 2021, 5:36:35 PM2/1/21
to Eventbrite Developers
Hey Adam,

Sorry for the delay here and thank you for following up! 

Presale and on sale dates will be based on ticket class sales start times, so you will want to follow these steps:
  1. GET https://www.eventbriteapi.com/v3/events/:event_id:/ticket_classes/
  2. Determine the pre sale time and on sale time based on the ticket class types and the corresponding info in the response
{...
"id": "xxxxxx",
"capacity": 400,
"quantity_total": 400,
"quantity_sold": 200,
"sales_start": "2021-01-28T16:00:00Z",
"sales_end": "2021-03-28T00:15:00Z",
"sales_end_relative": null,
"hidden": false,
"hidden_currently": false,
...}

The event date will be returned in any calls to the Event object. 

For the event date and on sale time for the event as a whole (likely aligned with the presale start time), you can also use the expansion field: 'event_sales_status' on the Event object with the following request: GET https://www.eventbriteapi.com/v3/events/:event_id:/?expand=event_sales_status

Event date will return as "start" in the response:
    "start": {
        "timezone": "America/Chicago",
        "local": "2021-08-01T19:00:00",
        "utc": "2021-08-01T00:00:00Z"
    },

On sale will return as "start_sales_date" in the response:
    "event_sales_status": {
        "sales_status": "on_sale",
        "start_sales_date": {
            "timezone": "America/Chicago",
            "local": "2021-01-01T10:00:00",
            "utc": "2021-01-01T16:00:00Z"
        }

I hope this is helpful!

Adam Stepansky

unread,
Feb 1, 2021, 6:15:06 PM2/1/21
to Eventbrite Developers
wonderful - thank you
Reply all
Reply to author
Forward
0 new messages