• Resolved ibarrere

    (@ibarrere)


    Hello,

    I’m using the Events Calendar along with Event Tickets Plus with WooCommerce integration. I am creating events via the Events Calendar API, but I need to create tickets for those events through the API as well. I don’t see anywhere within the standard Events Calendar (wp-json/tribe/events/v1/) that allows for this, and I looked around at WooCommerce as well but that only seems to handle the payment backend. Is there some way I can create tickets for my events via the API?

    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello @ibarrere,

    Thanks for getting in touch with us.

    For API information, check out our guide on The Events Calendar REST API Reference

    An Event is created using a common REST API pattern by sending a POST /wp-json/tribe/events/v1/events with the correct data.

    You may get more information about our API by using the /wp-json endpoint, like this:
    Events: /wp-json/tribe/events/v1/doc (for example: https://tec.com/wp-json/tribe/events/v1/doc)
    Tickets: /wp-json/tribe/tickets/v1/doc (for example: https://tec.com/wp-json/tribe/tickets/v1/doc)

    And for more, visit?https://editor.swagger.io/?and once on the site, go to?File > Import URL?and enter your site’s domain with the json URL to see the methods.

    I hope that helps.

    Thread Starter ibarrere

    (@ibarrere)

    Hi Frank,

    I have indeed relied on the documentation you linked, but the wp-json/tribe/tickets/v1 endpoint is what I was missing. It looks like I can create what I need with that.

    Thank you!

    Hello @ibarrere,

    You’re most welcome. I’m glad we’re all set!

    If you have a moment, I would really appreciate it if you could share your feedback with others. You can leave a review for Event Tickets here.

    By sharing your experience on www.ads-software.com, you’ll demonstrate the power of using The Events Calendar for event management to others. Plus, you’ll totally make my day. ??

    Either way, I’m here if any questions come up! 

    With gratitude,

    Plugin Support Darian

    (@d0153)

    Hi there,

    It appears that we haven’t heard back from you in a while, so I’ll assume that the matter has been resolved. If you need any more help, feel free to start a new thread and we’ll be happy to assist you.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Event Tickets Plus API’ is closed to new replies.