Accessing event tickets additional fields via API

Home Forums Welcome! Pre-Sales Questions Accessing event tickets additional fields via API

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1330101
    Alan Mason
    Guest

    I am writing a plugin which takes events created in Events Calendar and writes them to another ticketing website. It is 95% finished, mostly using tribe supplied functions (e.g. tribe_get_events). The only piece I am missing is the (re)creation of event ticket additional fields. I can access these via $ticket_fields = get_metadata(‘post’, $ticket_id, ‘_tribe_tickets_meta’, $single=false); and theoretically could update these via update_post_meta($ticket_id, ‘_tribe_tickets_meta’, $ticket_fields). However I need to add the value returned from the remote site to the meta so that I do not upload it again or can add information to the right ticket on the remote site should it have to change. What would be the safest (update proof?) or recommended way to create and access this value in the ticket field meta?

    #1330498
    Caroline
    Member

    Hi Alan,

    Thanks for reaching out! I’m afraid that we’re not able to provide technical assistance of this type here in our pre-sales forum, nor are our support team members able to offer detailed support for customization- and development-related queries. Since you’re a current user of one or more of our free plugins, I’d suggest posing this question on the WordPress.org support forum for The Events Calendar or Event Tickets! While our support team members are unable to provide hands-on guidance for these types of development efforts, we’d be more than glad to try and point you in the right direction, and you may find some helpful advice among your fellow users on the forums, as well! Would you mind taking a moment to re-post your question at one of the above locations?

    Thanks again, and we’ll see you over on WordPress.org! 🙂

    #1340347
    Support Droid
    Keymaster

    Hey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.

    Thanks so much!
    The Events Calendar Support Team

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Accessing event tickets additional fields via API’ is closed to new replies.