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 |
|
|
Yes |
String |
The order ID. Should be unique for status updates. |
|
|
The click token passed in the landing page parameters. |
||
|
|
The hotel ID. |
||
|
|
The offer ID. |
||
|
|
The order status. Possible values |
||
|
|
The check-in date in ISO 8601 format. |
||
|
|
The check-out date in ISO 8601 format. |
||
|
|
The order cost. |
Order statuses
|
Value |
Description |
|
|
Booked. |
|
|
Completed. |
|
|
Canceled. |
Was the article helpful?
Previous