Can I find Attendee by barcode id

54 views
Skip to first unread message

da...@nightmorning.com

unread,
Oct 14, 2019, 12:54:09 AM10/14/19
to Eventbrite Developers
Summarize Problem:

I'd like to retrieve attendee details for my event by providing their barcode

Currently, the only way to do this is by "Getting Information on all Attendees of an Event", and then going through each page of the response to see if the barcode has a match. This is inefficient.


What have you already tried?

Splitting the barcode to obtain the attendee id.

Barcode: XXXXXXXXXXYYYYYYYYYYZZZ
Observations
- (X's) first ten digits is the order_id
- (Y's) next ten digits is the attendee_id
- (Z's) last three digits are 001

I can then use the attendee_id to "Retrieving Information on a Single Attendee of an Event" to
curl -X GET   https://www.eventbriteapi.com/v3/events/{event_id}/attendees/{attendee_id}/   -H 'Authorization: Bearer PERSONAL_OAUTH_TOKEN'
There must be a better way.

Jacob

unread,
Oct 28, 2019, 12:45:11 PM10/28/19
to Eventbrite Developers
Hi Dave,

Thanks for reaching out with your question, and for your patience while we worked to get back to you on this.

Unfortunately, there's not currently an internal filter that allows for searching for attendees by barcode number. Do you mind going into a little more detail about your use-case here? While we don't have the specific functionality you're looking for, we may have a feasible workaround, depending on what you're trying to do specifically.

That being said, your discovery regarding the bardcode # and how it breaks down into the component pieces of Order ID, Attendee ID, and Ticket # on the order are exactly correct. So unfortunately, for the time being, the workaround of returning all attendees, and then searching for a barcode match would be the option that we suggest as well.

I look forward to hearing back from you.



Best,

-Jacob
Eventbrite Developer Support

Reply all
Reply to author
Forward
0 new messages