How can I see Tickets for future events and past event separately?

31 views
Skip to first unread message

Hema Shah

unread,
May 26, 2021, 11:44:07 PM5/26/21
to Eventbrite Developers
Hello,

I use the following API to get list of tickets for each user.

This gives me all the ticket information for that user.
How can I know if those events are past events or future events?

I will be calling Eventbrite API from Laravel API. 

Thanks for your help in advance.

Regards,
Hema.

nata...@eventbrite.com

unread,
Jun 7, 2021, 5:27:33 PM6/7/21
to Eventbrite Developers
Hi Hema!

You will want to use the `event` expansion on the Order object to see the date and/or status of each event the user has a ticket for. The request will look like this with the expansion: 

Both the event date and status in your response will indicate if the event is a past or future event. The event status can be "draft", "live", "started", "ended", "completed" or "canceled".

For more information about expansions on the Order object, have a look at the Expansions section of the Order object in our API Reference here! You can also see a general overview about expansions with our API here

Best,
Natalie

Hema Shah

unread,
Jun 7, 2021, 9:38:02 PM6/7/21
to Eventbrite Developers
Thanks a lot Natalie. This is very helpful.

Regards,
Hema.

Reply all
Reply to author
Forward
0 new messages