Hermeseus

Get a hotel booking

Read a hotel booking and its status, and extend the payment deadline on a held booking.

Get the booking

POST/v2/Hotel/HotelBookingData

Access requires the permission hotel_booking_data

Look a booking up by the UniqueId from book, or by your own ClientUniqueId. Send at least one.

Body parameters

NameTypeRequiredDescription
SessionIdstringYesYour session id.
UniqueIdstringOne ofThe booking id from book.
ClientUniqueIdstringOne ofYour own reference. Send at least one of the two.
curl -X POST https://api.hermeseus.com/api/v2/Hotel/HotelBookingData \
  -H "Content-Type: application/json" \
  -d '{
    "SessionId": "8f3c81d2-4a5b-4c6d-9e0f-1a2b3c4d5e6f",
    "UniqueId": "HB-2026-004417"
  }'
const res = await fetch("https://api.hermeseus.com/api/v2/Hotel/HotelBookingData", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    SessionId: "8f3c81d2-4a5b-4c6d-9e0f-1a2b3c4d5e6f",
    UniqueId: "HB-2026-004417"
  })
});

const data = await res.json();
import requests

res = requests.post(
    "https://api.hermeseus.com/api/v2/Hotel/HotelBookingData",
    json={
        "SessionId": "8f3c81d2-4a5b-4c6d-9e0f-1a2b3c4d5e6f",
        "UniqueId": "HB-2026-004417",
    },
)

data = res.json()

Response

FieldTypeDescription
Successbooleantrue on success.
UniqueIdstringThe booking id.
StatusintegerBooking status code.
HotelNamestringThe property.
CheckIn / CheckOutstringStay dates.
NetRatenumberTotal charged. USD.
Roomsarray of objectRooms and guests as booked.
Errorobjectnull on success.
{
  "Success": true,
  "UniqueId": "HB-2026-004417",
  "Status": 20,
  "HotelName": "Hotel Le Marais",
  "CheckIn": "2026-10-15",
  "CheckOut": "2026-10-16",
  "NetRate": 148.00,
  "Currency": "USD",
  "Rooms": [
    {
      "Passengers": [
        { "FirstName": "Jane", "LastName": "Doe", "PassengerType": 1 }
      ]
    }
  ],
  "Error": null
}

Extend the payment deadline

POST/v2/Hotel/HotelExtendPaymentDeadline

Access requires the permission hotel_extend_payment_deadline

Push the deadline out on a booking that is still held. Once confirmed, there is nothing to extend.

Body parameters

NameTypeRequiredDescription
SessionIdstringYesYour session id.
UniqueIdstringYesThe held booking id.
{
  "Success": true,
  "UniqueId": "HB-2026-004417",
  "PaymentDeadline": "2026-10-10T18:00:00",
  "Error": null
}
Two versions. The v1 paths /Hotel/HotelBookingData and /Hotel/HotelExtendPaymentDeadline are the same operations. New integrations should use the v2 paths above.

Errors

CodeMeaningFix
Err0106002Neither UniqueId nor ClientUniqueId was sent.Send at least one.
Err0104002Hotel booking not found.Check the id.
Err0104003The payment deadline cannot be extended.The booking is not in an extendable state.