Support

Home Forums Event Espresso Premium Setting the permalink via the API?

Setting the permalink via the API?

Posted: October 10, 2018 at 3:40 pm


gncares

October 10, 2018 at 3:40 pm

I’m failing to find information on how to set the Permalink for an event in the API.

I’m assuming those also have to be unique for each event correct?


gncares

October 10, 2018 at 3:51 pm

I figured it out. Was missing the EVT_slug field.


Josh

  • Support Staff

October 10, 2018 at 6:38 pm

Hi,

If you’re not sure about how to set a specific field, the /wp-json/ discovery endpoints will include every field that can be set. Or if you create an event through the UI, you can check its fields/values by going to
wp-json/ee/v4.8.36/events/{event ID}
There you’ll see all the possible fields.

The support post ‘Setting the permalink via the API?’ 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.

Event Espresso