Update apartment availability
POST/v2/availability
Operation ID: updateAvailability
deprecated
This endpoint has been deprecated and may be replaced or removed in future versions of the API.
Deprecated: use POST /v2/los. Marks the listed days as available or booked; days not in the request keep their state, so each call is an incremental update. Works only together with POST /v2/rates (a day is bookable only if it is available and has a rate) and is ignored for apartments priced with LOS. Dates must lie between today and 31 December of the year after next, each at most once and never both available and booked.
Request
Responses
- 200
- 400
- 401
- 404
- 406
- 500
Successful update of apartment availability
Bad Request
Authentication error
Apartment does not exist
Request terminated
Internal server error