Creating Discount Code via the API

28 views
Skip to first unread message

Joshua Scott

unread,
Oct 5, 2015, 11:40:49 PM10/5/15
to Eventbrite API
Hello,

I am using trying to use the API to create a discount code. I am posting the following:

https://www.eventbriteapi.com/events/123456788/discounts/?discount.code=INSIGHT11336&discount.percent_off=100&discount.end_date=2015-10-06

(with my personal token as a post value)

I am getting a 404 returned.

What am I doing wrong?

Thanks!

Josh

Joshua Scott

unread,
Oct 6, 2015, 1:23:40 PM10/6/15
to Eventbrite API
Anyone??

Brandon Wind

unread,
Oct 6, 2015, 5:15:59 PM10/6/15
to Eventbrite API
Hey Joshua, 

Double check your URL there - you'll want to be using https://www.eventbriteapi.com/v3/events/ rather than http://www.eventbriteapi.com/events/

Let me know if you are still having any trouble. 

Cheers,
Brandon
Reply all
Reply to author
Forward
0 new messages