Retrieving the Booker Name and Guest Name
In the AirHost API, booker information and guest information are returned as separate objects.
Please note that the source of the information differs depending on your use case.
■ Differences in what information is retrieved:
Reservation name (Stay.booker)
→ Can be retrieved with GET /stays (information of the person who made the reservation)
Guest name (RoomReservation.main_guest)
→ Can be obtained via GET /room_reservations/{id} (Information of the representative who will actually be staying)
■ Important Note:
The person who made the reservation (booker) and the guest (main_guest) are not always the same person.
About the Guest Count Fields in RoomReservation (2026-05-11)
The guest count fields in RoomReservation are mapped based on the guest categories and definitions used by each OTA.
AirHost imports reservation data from multiple OTAs, but each OTA defines child, infant, and child categories (ChildA–ChildD) differently.
As a result, the API does not return standardized definitions for these fields. Instead, it returns values that reflect each OTA's definitions as closely as possible.
Therefore, even when the field names are the same, their meaning and interpretation may differ depending on the source OTA.
Basic Meaning of Each Field
Category | Description |
Standard Guest Count Fields |
|
ChildA–ChildD Fields
|
|
Important Specifications and Integration Considerations for Handling Co-Sleeping Children and Guest Counts
Topic | Description | Reason |
Relationship Between | For some OTAs (such as Rakuten Travel, Ikkyu, and Temairazu), | - Age-based OTAs such as Booking.com, Expedia, and Opera do not generate
Therefore, |
Regarding the relationship between child_count and ChildA-D | [Notes] The following relationships do not guarantee a strict correspondence.
Furthermore, there are cases where it's | Cases where the sum of A-D is less than child_count (<) Age-based OTAs (such as Booking.com, Expedia, and Opera) perform the following simplified mapping on the AirHost side:
However, children under 3 years old and over 12 years old are not included in Child A-D. [example]
in the case of:
This is because 13-year-olds are excluded as they fall outside the range of Child A to D. |
Cases where the sum of A-D is greater than child_count (>) | Japanese online travel agencies (OTAs) such as Ikkyu, Rakuten Travel, and Temairazu | [Example (Ikkyu)] At Ikkyu: This is how it's treated, but Therefore,
[Notes]
|
Cleaning Management
Scenario | Description |
Using the API for Cleaning Management | AirHost can provide the reservation-related data required by your cleaning management system. However, AirHost does not include cleaning management functionality itself.
For example, the API cannot be used to:
These functions must be implemented and managed within your own system.
|
