booking.hotel.get
View connectorLoad hotel photos, description, reviews and available rooms for a search
POST /v1/operations/booking.hotel.getHeaders
Authorization: Bearer YOUR_CONNECTOR_TOKEN
x-connection-ref: YOUR_CONNECTION_REF
Content-Type: application/jsonUse your connector bearer token and guest connection_ref in x-connection-ref. Replace search_ref and property_ref with values from the same search response. Dates, guests and currency come from that search.
Inputs
| Parameter | Example type | Example value |
|---|---|---|
| search_ref | string | "00000000-0000-0000-0000-000000000000" |
| property_ref | string | "00000000-0000-0000-0000-000000000000" |
Example input
{
"search_ref": "00000000-0000-0000-0000-000000000000",
"property_ref": "00000000-0000-0000-0000-000000000000"
}Input schema
{
"$id": "https://useajar.com/schemas/booking/hotel-get.input.schema.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"property_ref": {
"format": "uuid",
"type": "string"
},
"review_offset": {
"maximum": 10000,
"minimum": 0,
"type": "integer"
},
"search_ref": {
"format": "uuid",
"type": "string"
}
},
"required": [
"search_ref",
"property_ref"
],
"title": "Booking.com hotel-get input",
"type": "object"
}