v1

latestOpenAPI 3.0.32026-07-2672165314.6 KB
Availability

Updates the number of available units for a specific room type.

Updates the number of available units for a specific room type.

post/v1/availability/{propertyId}/{roomTypeId}/set

Path parameters

propertyIdinteger required

The unique identifier of the property.

roomTypeIdinteger required

The unique identifier of the room type.

Request body

period_startstring date-time

The start date of the period to update

period_endstring date-time

The end date of the period to update

availableinteger

The number of units to set as available

Response

OK