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
Example request
{
"filters": {
"countries": [
"nl"
]
}
}Response
Successful response.