v1

latestOpenAPI 3.0.02026-07-17337.2 KB

Get booking details

Retrieves details for a specific booking by ID or guest name.

get/booking_details

Query parameters

booking_idstring

The custom booking ID (e.g., 'HB-1').

guest_namestring

The name of the guest to search for (partial and case-insensitive).

Response

Booking details retrieved successfully.

errorboolean
messagestring

Example response

{
  "data": {
    "custom_booking_id": "HB-1",
    "hotel_name": "Grand Hyatt",
    "hotel_location": "New York",
    "guest_name": "John Doe",
    "check_in_date": "2025-10-01",
    "check_out_date": "2025-10-05",
    "num_rooms": 1,
    "total_price": 1000
  },
  "message": "Booking details retrieved successfully."
}