What data do I need to push to an EE API endpoint to create a single ticket purchase on a specific ticket and event?
This is so we can run some free tickets out of the back of another website that can easily use curl to push data into a ticket without haveing to be registered in WordPress.
2) Create a registration via Event Espresso’s UI in the WordPress dashboard
3) Review the site’s database tables to see everything that was just written to the database. You’ll note that Event Espresso tables have an _esp_ prefix. Also note that an attendee custom post type is also written to the _posts table, and specific entities within event related tables need to be updated when a registration is added. For example, a ticket’s sold count needs to be incremented when an approved registration is added.
5) Once you’ve gotten this far, you can start putting together REST API requests to write to the database
Viewing 1 reply thread
The support post ‘Can i POST data to an Event Espresso josn end point to create a ticket booking’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.
Support forum for Event Espresso 3 and Event Espresso 4.