Experience the difference of "Elite".

Query the Guest object?

SBF VR
Apr 8, 2021 11:24 AM
Joined Jul, 2018 26 posts

Attempting something with the OR API...

I can get the booking details using the numbers from the reservation ID, but the guest info includes several IDs related to other objects (address, phone, email), some of which don't appear to be available as objects to query via the API.

But it looks like the Guest object is available to query, just not documented how to query it (?q={q} isn't obvious enough). Please advise.

Chris Hynes
Apr 9, 2021 1:15 PM
OR Team Member Joined Oct, 2012 1400 posts

Yep, that API is pretty old and we're working on an update. I'll send you some details on an alternate API you can use in the meantime.

SBF VR
Apr 20, 2021 12:00 PM
Joined Jul, 2018 26 posts

Follow up for posterity:

q={q} the best results came from q being the last name, but then filter the output by the guest Id to make sure we picked up the right one. Supposed to also be able to use the email address, but that returned bad data more often than I preferred.