v1

latestSwagger 2.02026-07-14214688.6 KB
RoomTypes

Get all the details for a specific room type in the hotel.

With this call you can load the details about a specific room type in the hotel.

get/api/hotel/v0/hotels/{hotelId}/room_types/{code}

Path parameters

hotelIdinteger required

The hotel id the room type belongs to.

codestring required

The code of the room type you want to see details for.

Headers

App-Idstring required

Application identifier

App-Keystring required

Application key.

Response

Room type details for the given room and hotel.

bedding_type'NotDefined' | 'Double' | 'Futon' | 'King' | 'MurphyBed' | 'Queen' | 'SofaBed' | 'TatamiMats' | 'Twin' | 'Single'

The type of bed for the room type

codestring

Code of the room type

createdstring date-time

Timestamp the room type was created

defaultboolean

Specifies if the room type is the default room type of the hotel

descriptionstring

Description of the room type

expected_occupancyinteger

The common amount of persons for the room

max_personsinteger

Maximum number of allowed persons for that room type

min_personsinteger

Minimum number of allowed persons for that room type

namestring

Name of the room type

updatedstring date-time

Timestamp of when the room type was changed the last time