Retrieve Tracking Links With OAuth For Partners

21 views
Skip to first unread message

Nicholas Swekosky

unread,
Dec 6, 2019, 6:28:54 AM12/6/19
to Eventbrite Developers
Summarize Problem:
As an Eventbrite Affiliate Partner and consumer of the Eventbrite API by way of OAuth, I would like to retrieve the manually affiliate created links and respective sales data by way of an endpoint.

What have you already tried?
Doing so by the user interface

Describe the expected results:
I would like an endpoint with the following path:
  • /event/<eventID>/links
I would like the response payload to contain a list of objects with the affiliate type, number of visits, tickets sold, & sale amount per link. In addition, I would like the root payload to contain an object that has the aggregate values for all links.

Nathan Tinius

unread,
Dec 10, 2019, 9:22:19 AM12/10/19
to Eventbrite Developers
Hey Nick! 

Thank you for sharing your experience here. Unfortunately, as you have discovered there is not a method for this. One thing you could potentially do is write a script that iterates through the /attendees/ endpoint with the "orders" expansion pulling out all of the orders with the affiliate_code you are interested in. Then calculate this for yourself. 
This may not be a highly scalable or perfect option, however, I believe it would be a decent solution until a better solution presents itself.

I hope this helps! 
Nathan 
Eventbrite External Developer Solution. 

Nicholas Swekosky

unread,
Dec 10, 2019, 9:31:50 AM12/10/19
to Eventbrite Developers
I like the idea, Nathan.

Say that I'm pulling all of the sales or attendee reports already. Is there a way to retrieve the attendee or order id's from those reports?

Nathan Tinius

unread,
Dec 10, 2019, 9:36:35 AM12/10/19
to Eventbrite Developers
Unfortunately, the reports endpoint is probably the area of our API that is the furthest behind our front-end product. I know that we have looked into possible improvements in this area but I have no timeline on if/when any changes would be made. 

I know that is not a great answer but it is simply the limitation of our API as it stands today. 
Nathan

Nicholas Swekosky

unread,
Dec 10, 2019, 9:44:27 AM12/10/19
to Eventbrite Developers
Thank you Nathan. One quick follow up question.

Is there a way to create an event's affiliate code through the API given I have OAuth access to an owner's event?

Nathan Tinius

unread,
Dec 10, 2019, 10:02:15 AM12/10/19
to Eventbrite Developers
Unfortunately, not at this time. It has to be created via the front-end platform. I would love to know more about your full use case to properly explore solutions for our more complex API needs with our product teams regarding future API growth and improvement. If you would share that with us by emailing a...@eventbrite.com that would be awesome! 

Thanks!
Nathan

Nicholas Swekosky

unread,
Dec 10, 2019, 10:32:34 AM12/10/19
to Eventbrite Developers
Submitted. Thanks for your feedback.
Reply all
Reply to author
Forward
0 new messages