Skip to main content

Room

Room represents an available room for a specific occupancy.

occupancyRefIdinteger<int32>

Identifier that links the room to the requested occupancy.

codecode (string)

Provider room identifier.

descriptiondescription (string)

Room name or description.

roomPrice object

Room total price including taxes or fees.

bindingbinding (boolean)

Indicates whether the price is binding or subject to change.

suggestednumber<double>

Recommended selling price.

netnumber<double>

Net cost injected by the provider.

currencycurrency (string)

ISO 4217 currency code for the price amounts.

ratePlan object

Rate plan that governs booking conditions.

codecode (string)

Provider rate plan code.

namename (string)

Display name for the rate plan.

promotions object[]

Promotions applied to the room.

  • Array [
  • codecode (string)

    Promotion identifier.

    namename (string)

    Human readable promotion name.

    amountamount (string)

    Promotion amount or percentage as provided by the supplier.

    effectiveDatestring<date-time>

    Start date for the promotion validity window.

    expireDatestring<date-time>

    End date for the promotion validity window.

  • ]
  • unitsinteger<int32>deprecated

    Deprecated: number of units allocated for this room.

    Room
    {
    "occupancyRefId": 0,
    "code": "string",
    "description": "string",
    "roomPrice": {
    "binding": true,
    "suggested": 0,
    "net": 0,
    "currency": "string"
    },
    "ratePlan": {
    "code": "string",
    "name": "string"
    },
    "promotions": [
    {
    "code": "string",
    "name": "string",
    "amount": "string",
    "effectiveDate": "2024-07-29T15:51:28.071Z",
    "expireDate": "2024-07-29T15:51:28.071Z"
    }
    ]
    }