hotel-search
Query Session
Query hotels within a session.
post/hotel-search/sessions/{session_id}/query
Path parameters
session_idstring uuid required
Request body
Example request
{
"filters": {
"amenities": [
"wifi",
"pool"
],
"max_price_per_night": {
"amount": 30000,
"currency": "USD"
},
"max_star_rating": 4,
"min_price_per_night": {
"amount": 10000,
"currency": "USD"
},
"min_review_score": 7.5,
"min_star_rating": 3,
"refundable_only": false
}
}Response
Successful Response
Example response
{
"guests": {
"rooms": [
{
"adults": 2,
"children": [
{
"age": 5
}
]
}
]
},
"filters": {
"amenities": [
"wifi",
"pool"
],
"max_price_per_night": {
"amount": 30000,
"currency": "USD"
},
"max_star_rating": 4,
"min_price_per_night": {
"amount": 10000,
"currency": "USD"
},
"min_review_score": 7.5,
"min_star_rating": 3,
"refundable_only": false
},
"criteria": {
"guests": {
"rooms": [
{
"adults": 2,
"children": [
{
"age": 5
}
]
}
]
}
}
}Changes
No recorded changes to this endpoint across all 1 revision of this API.