latestOpenAPI 3.1.02026-08-10390815.4 KB

e5f3dccae7ca

Accommodations

Updated accommodations

Use this endpoint to track accommodations that have opened, closed, or had relevant content updates since a specific timestamp. Changes can include updates to general information, facilities, rooms, photos, payments, and more. <br/>You can:<br/> - Filter results by country or city.<br/> - Use the "next" timestamp from the response to request further updates.<br/><br/>To keep your local accommodation cache up to date, use this endpoint in combination with accommodations/details <br/><br/>The maximum number of IDs returned is approximately 5000 per request.

post/accommodations/details/changes

Headers

X-Affiliate-Idinteger required

Include here your Affiliate identifier number

Request body

last_changestring date-time required

The timestamp in ISO-8601 format from which changes to accommodations are returned (inclusive). Only UTC time zone is supported. We support changes for last 24 hours. Format: YYYY-MM-DDTHH:mm:ss+00:00

Example request

{
  "filters": {
    "countries": [
      "nl"
    ]
  }
}

Response

Successful response.

request_idstring

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