Gets the availability of a hotel based on given search criteria

Gets the availability of a hotel based on a given search criteria.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Body Params

sample description

class for availability search request

hotels
array of strings

List of numeric hotel IDs in string. max 200 hotels per request

hotels
string
required

check in date in yyyy-mm-dd.

string
required

check out date in yyyy-mm-dd. for hourly searches, checkIn == checkOut.

occupancy
object
required

occupancy - a PullSpecOccupancy object

countryCodes
array of strings

List of codes that indicate the nationality rates to be returned.
Either 'ISO-3166-1 alpha-2' 2-letter codes (e.g. SG, TH, UK), or 'GLOBAL' are accepted.
If no country codes are provided, request will default to 'GLOBAL'.

countryCodes
boolean

Indicates whether the request is asking for rates for all nationalities that supplier supports.
If this field is absent or empty, assume value is false.
If this field is set to true, then countryCodes should be ignored.

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
Credentials
Basic
base64
:
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
text/plain