Skip to main content
GET
Get a room type

Authorizations

X-SpaPortal-Public-Key
string
header
required

See Authentication for how to obtain and send your public key.

Headers

Accept-Language
string

Comma-separated BCP 47 language tags selecting which locale keys localized fields return. When omitted or *, all locale keys are returned. Inside a list, * adds the locales you do not list, at its own quality value. See Localization for details.

Example:

"cs-CZ,de"

X-Request-Id
string

Optional client-provided request identifier echoed in error responses.

Path Parameters

roomTypeId
string
required

Room type id.

Pattern: ^[0-9a-fA-F]{24}$

Query Parameters

expand
enum<string>[]

Comma-separated expansions. hotel embeds the hotel's id, name, and stars. amenityLabels adds localized labels to amenity categories and amenities; see Labels. You can request both.

Available options:
hotel,
amenityLabels

Response

The room type.

A type of accommodation within a hotel, with occupancy, amenities, rules, and images.

id
string
required
Pattern: ^[0-9a-fA-F]{24}$
Example:

"66f16191f739705faa020003"

hotelId
string
required
Pattern: ^[0-9a-fA-F]{24}$
Example:

"66f16191f739705faa020001"

code
string | null
required
Example:

"SUPERIOR-DBL"

disabled
boolean
required

True when this room type is disabled for new bookings. Existing bookings keep their references to the room type. The code does not indicate availability.

Example:

false

name
string
required

Single room type name, shared by all languages. Unaffected by Accept-Language. Empty string when no name is available.

Example:

"STANDARD 1/1 - IMP"

description
object
required

Localized description (Markdown).

Example:
unitType
object | null
required
tier
object | null
required
occupancy
object
required

Configured room occupancy details. Booking and pricing use standard occupancy; maximum capacity, single use and infant exclusion are informational settings.

bedConfiguration
object[]
required

Positive bed counts in dictionary order. Empty when unspecified.

size
object | null
required

Floor area in square metres. A fixed area has equal min and max.

renovationYear
integer | null
required

Renovation year, or null when missing or invalid (including more than five years in the future).

Required range: x >= 1800
rules
object
required
building
object | null
required

Assigned building, even for a hotel with one building. Null if unassigned or removed.

amenityCategories
object[]
required

Amenities assigned to the room type, grouped by category. See Assigned amenities. Room benefits use the inclusions category; see Included with this room.

images
object[]
required
hotel
object

Embedded only when expand=hotel.