Skip to main content

Method

GET /v1/ref/room-categories/:id

Description

Returns a single room category record by its UUID. This endpoint is useful when you need the full details of a specific room category after obtaining its ID from the list endpoint.

Headers

This endpoint is public and does not require authentication.

Path Parameters

string
required
The UUID of the room category to retrieve.

Response

Error Responses

Response Fields

string
required
UUID v7 identifier for the room category.
string
required
Unique code identifier (e.g., “standard”, “deluxe”, “suite”).
string
required
Human-readable name of the room category.
string
Optional description of the room category.
number
Order for display purposes (lower numbers appear first).
boolean
required
Whether the room category is currently active.
string
required
ISO 8601 timestamp of when the record was created.
string
required
ISO 8601 timestamp of when the record was last updated.

Notes

  • This endpoint returns both active and inactive room categories (unlike the list endpoint)
  • The ID must be a valid UUID format
  • If the room category does not exist, a 404 error is returned