About Per-Night Room Rates When Creating a Reservation
When creating or updating a reservation via POST /stays (Create a Stay) or PUT /room_reservations/{id} (Update a Room Reservation), there is currently no field that lets you specify a per-night room rate for the reservation itself.
Please be aware of the following behavior when integrating your Booking Engine.
Topic | Description | Reason |
booking_fee only accepts a total amount |
| This is a current limitation of the Public API specification for reservation creation. |
How the total is applied to each night | AirHost automatically splits the submitted total evenly across the number of nights to populate the reservation's per-night pricing.
| Because no per-night rate is submitted, the system has no other basis for populating a nightly breakdown. |
charges is not a substitute for per-night rates |
| charges was designed around AirHost-collected miscellaneous fees. Treating it as a substitute for nightly rates would affect other integrators who use charges for its intended purpose without submitting per-night data. |
Impact on accommodation tax | Since AirHost's automatic accommodation tax calculation is based on the same per-night pricing derived from | The tax calculation reads from the same underlying per-night data as the reservation record. |
Current workaround | If accurate per-night pricing and tax amounts are required, this currently needs to be handled manually: | There is no way to resolve this automatically via the API at present. |
