Order

An order at a hotel.

Example:

{
    "id": "orderId",
    "token": "123e4567e89b12d3a456426614174000",
    "hotelId": "hotelId",
    "offerId": "offerId",
    "status": "booked",
    "checkIn": "2020-05-01",
    "checkOut": "2020-05-05",
    "price": {
        "amount": "10000",
        "currency": "RUB"
    }
}

Field

Required

Type

Description

id

Yes

String

The order ID. Should be unique for status updates.

token

The click token passed in the landing page parameters.

hotelId

The hotel ID.

offerId

The offer ID.

status

The order status. Possible values

checkIn

The check-in date in ISO 8601 format.

checkOut

The check-out date in ISO 8601 format.

price

The order cost.

Order statuses

Value

Description

booked

Booked.

completed

Completed.

canceled

Canceled.