latestOpenAPI 3.1.02026-08-10390815.4 KB

e5f3dccae7ca

Accommodations

Check multiple availability

Use this endpoint to retrieve detailed product availability, price and charges of a list of accommodations. By default, only product availability and price is returned. <br/>To receive extended information use the extras parameter. <br/>Note: It is mandatory to pass the input parameters: accommodations, booker, checkin, checkout and guests.

post/accommodations/bulk-availability

Headers

X-Affiliate-Idinteger required

Include here your Affiliate identifier number

Request body

accommodationsinteger[] required
checkinstring date required

The checkin date. Must be within 500 days in the future and in the format yyyy-mm-dd.

checkoutstring date required

The checkout date. Must be later than {checkin}. Must be between 1 and 90 days after {checkin}. Must be within 500 days in the future and in the format yyyy-mm-dd.

currencystring

A three-letter code that uniquely identifies a monetary currency as defined by the ISO 4217 standard. The full list can be obtained by calling <a href="/demand/docs/open-api/demand-api/commonpayments/common/payments/currencies" target="_blank">common/payments/currencies</a>.

extrasstring[]

Input parameter to request for additional information about this product.include_bundle_variants must be passed in order to retrieve all value added products.

Example request

{
  "currency": "EUR"
}

Response

Successful response.

request_idstring

Uniquely identifies the request. Please provide this identifier when contacting support.

Example response

{
  "data": [
    {
      "currency": "EUR"
    }
  ]
}