Support

Home Forums Event Espresso Premium Address information for the second attendee

Address information for the second attendee

Posted: July 10, 2017 at 1:44 pm


Andreas

July 10, 2017 at 1:44 pm

Is it possible to get the address for the second, third, etc person of a registration?

I will try to explain it:

There is a registration for an event with several people (somebody is buying several tickets at once). Person A buys 3 tickets for person A, B and C.

Now there is only the address information of person A.

The problem is that if I try to get the address information via API (/wp-json/ee/v4.8.36/events/395/attendees) the person B has no address.

Is it possible to get the address information for person B via API?

Thanks


Josh

  • Support Staff

July 10, 2017 at 2:25 pm

Hi Andreas,

Each registration in Event Espresso is its own ticket, so if they input an address on the registration form, that info is available from the API. Are your registration forms set to capture address information for each attendee?


Andreas

July 12, 2017 at 1:11 am

Hi Josh,

our RegForm captures one Billing address and multiple attendees. Each attendee should be associated with that address.

Our support request on this is associated with the development of an Zapier integration that connects EE with our CRM. Each attendee results in a new (or updated) entry in our CRM and therefore should be linked with a company (billing address).

Is there a way to get this combination through the API (e.g. Att #1 + Billing Address #1, Att #2 + Billing Address #1, Att. #n + Billing Address #1…)

Hopefully there is a way as each attendee’s company is printed on the tickets… 😉

Thanks!
Andreas


Josh

  • Support Staff

July 12, 2017 at 9:19 am

Hi Andreas,

Yest that’s possible. e.g. You can get the address with something like this:
/wp-json/ee/v4.8.36/registrations?include=Attendee.*&where[Transaction.TXN_ID]=869&limit=1

Then apply that data to your other registrations in the same transaction.

The support post ‘Address information for the second attendee’ 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