Перейти к основному содержимому

RoomType

RoomType represents detailed information about a room.

idstringrequired

Room identifier

objectIdstringrequired

Object identifier (from platform, needed for calendar and availability checks)

namestringrequired

Room name

descriptionstringrequired

Room description

images object[]required

Room photos

  • Array [
  • idstringrequired

    Photo ID

    imageUrlstringrequired

    Photo URL

    commentstring

    Description (nullable)

    blurHashstring

    Blur hash for placeholder effect

  • ]
  • imageCountinteger<int32>required

    Number of photos

    beds object[]required

    Beds in the room

  • Array [
  • namestringrequired

    Bed type code (e.g., "BED_TYPE_SINGLE_BED")

    titlestringrequired

    Bed type title (e.g., "односпальная кровать")

    countinteger<int32>required

    Number of beds of this type

    isExtraBedbooleanrequired

    Whether this is an extra bed

  • ]
  • info object[]required

    Room properties (area, bedrooms, etc.)

  • Array [
  • namestringrequired

    Property name (e.g., "area", "floor", "bedrooms")

    titlestringrequired

    Property title (e.g., "Площадь (м2)")

    valuestringrequired

    Property value (e.g., "45")

  • ]
  • amenities object[]required

    Room amenities

  • Array [
  • groupstringrequired

    Amenity group (e.g., "AMENITY_GROUP_ROOM")

    titlestringrequired

    Amenity title (e.g., "Wi-Fi в номере")

    namestringrequired

    Amenity code (e.g., "AMENITY_INTERNET_ROOMS")

    isPaidboolean

    Whether this amenity is paid

    pricestring

    Price for paid amenity

    currencystring

    Currency code (e.g., "rub", "usd")

    optionalInfostring

    Additional information about the amenity

    priceTypestring

    Price unit for paid amenity (daily, period, hourly)

  • ]
  • bookingRules object[]required

    Booking rules

  • Array [
  • namestringrequired

    Rule name (e.g., "party", "pets", "smoking")

    titlestringrequired

    Rule description (e.g., "вечеринки разрешены")

    valuestring

    Rule value (e.g., "0", "1", "14:00")

  • ]
  • importantInfostring

    Important information from owner

    superguestPermissions object[]required

    Superguest permissions available for the room type

  • Array [
  • namestringrequired
    titlestringrequired
  • ]
  • RoomType
    {
    "id": "string",
    "objectId": "string",
    "name": "string",
    "description": "string",
    "images": [
    {
    "id": "string",
    "imageUrl": "string",
    "comment": "string",
    "blurHash": "string"
    }
    ],
    "imageCount": 0,
    "beds": [
    {
    "name": "string",
    "title": "string",
    "count": 0,
    "isExtraBed": true
    }
    ],
    "info": [
    {
    "name": "string",
    "title": "string",
    "value": "string"
    }
    ],
    "amenities": [
    {
    "group": "string",
    "title": "string",
    "name": "string",
    "isPaid": true,
    "price": "string",
    "currency": "string",
    "optionalInfo": "string",
    "priceType": "string"
    }
    ],
    "bookingRules": [
    {
    "name": "string",
    "title": "string",
    "value": "string"
    }
    ],
    "importantInfo": "string",
    "superguestPermissions": [
    {
    "name": "string",
    "title": "string"
    }
    ]
    }