Skip to main content

Guest

The Guest entity is used within the Reservation entity to specify information about the guests related to the reservation.

Fields​

FieldTypeDescription
idstringThe unique identifier for the guest resource.
createdAtstringThe time at which the guest resource was created.
name_prefixstringSalutation of honorific (e.g. Mr., Mrs., Ms., Miss, Dr.).
name_firststringGiven name, first name or names.
name_laststringFamily name, last name. This is the only required field for name. For instance, if a guest is only a single named guest (i.e. Madonna) it would go into this field.
sexCodenumberThere is a special case for sexCode, as per the ISO/IEC 5218 standard. If the vacation rental software doesn't provide the information the value returned will not be null, and instead will be 0.
emailsArray<string>Email addresses, the vacation rental software has record of, for the guest in question.
mobile_numbersArray<number>Phone numbers, the vacation rental software has record of, for the guest in question.
preferred_languagestringISO 639-1 - The language that the guest prefers to communicate in. The language may not be supported by the hotel.
nationalitystringNationality, the vacation rental software has record of, for the guest in question in ISO 3166-1 alpha-3 format.
company_namesArray<string>Unlike the company name in the Reservation, this is a string field provided by the guest. This field is not typically required.
notesstringA free text field for notes that the vacation rental software holds on the guest in question.
documentsArray<{}>Documents, the vacation rental software has record of, for the guest in question, for example, Passports, Driving Licences.
picturesArray<{}>Pictures, the vacation rental software has record of, for the guest in question.
addressesArray<Addresses>Addresses, the vacation rental software has record of, for the guest in question.
preferencesArray<string>A set of codes that represent desired options for a given guest. These are preferences that the guest adds or requests to be added to their profile to be utilized across stays.

Address Sub-fields​

FieldTypeDescription
line1stringThe first line of the address.
line2stringThe second line of the address (if any).
postal_codestringThe postal or ZIP code for the address.
citystringThe city where the address is located.
streetstringThe street where the address is located.
statestringThe state or province of the address.
countrystringThe country where the address is located.

Supported fields in each source system:​

FieldHostawaySmoobuLodgifyHostfullyBeds24HospitableLodgixZeevouOwnerRezBookingSync
id✅✅-🔜🔜🔜🔜🔜🔜🔜
createdAt---🔜🔜🔜🔜🔜🔜🔜
name_prefix---🔜🔜🔜🔜🔜🔜🔜
name_first✅✅✅🔜🔜🔜🔜🔜🔜🔜
name_last✅✅-🔜🔜🔜🔜🔜🔜🔜
sexCode---🔜🔜🔜🔜🔜🔜🔜
emails✅✅✅🔜🔜🔜🔜🔜🔜🔜
mobile_numbers-✅✅🔜🔜🔜🔜🔜🔜🔜
preferred_language✅✅✅🔜🔜🔜🔜🔜🔜🔜
nationality✅✅✅🔜🔜🔜🔜🔜🔜🔜
company_names-✅-🔜🔜🔜🔜🔜🔜🔜
notes✅✅-🔜🔜🔜🔜🔜🔜🔜
documents---🔜🔜🔜🔜🔜🔜🔜
pictures✅--🔜🔜🔜🔜🔜🔜🔜
addresses✅✅✅🔜🔜🔜🔜🔜🔜🔜
preferences---🔜🔜🔜🔜🔜🔜🔜

✅ Supported and mapped
🔶 Partially mapped, not exact match
🔜 Launching soon
— Not supported in source system


Supported Methods​

  1. Get Guest
  2. Get All Guests

Sample Response​

{
"id": "G12345",
"created_at": "2023-10-25T12:34:56Z",
"name_prefix": "Mr.",
"name_first": "John",
"name_last": "Doe",
"sexCode": 1,
"emails": ["john.doe@example.com"],
"mobile_numbers": [1234567890],
"preferred_language": "en",
"nationality": "USA",
"company_names": ["Doe Industries"],
"notes": "Regular guest, prefers quiet rooms.",
"documents": [
{
"type": "Passport",
"number": "X1234567"
},
{
"type": "Driving Licence",
"number": "Y7654321"
}
],
"pictures": [
{
"url": "http://example.com/john_doe_pic1.jpg"
},
{
"url": "http://example.com/john_doe_pic2.jpg"
}
],
"addresses": [
{
"line1": "123 Elm St.",
"line2": "Apt 4B",
"postal_code": "12345",
"city": "Sample City",
"state": "NY",
"country": "USA"
}
],
"preferences": ["K1", "NS", "HF"]
}