Skip to main content
GET
Get a room type
Draft: This endpoint is still in progress. Its parameters and response shape may change before it is finalized.

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, all locale keys are returned. 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>

Set to hotel to embed the hotel.

Available options:
hotel

Response

The room type.

Draft: The room-type resource is still in progress. Its response shape may change before it is finalized.

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"

category
object
required

Localized category name (plain text).

Example:
beds
integer
required
Example:

2

facilities
string[]
required
Example:
images
object[]
required
description
object
required

Localized description (Markdown).

Example:
hotel
object

Embedded only when expand=hotel.