Offer
{
"id": "offer_id",
"url": "https://example.org/offer/12345",
"name": "Double room",
"features": {
"boardBasis": "HB",
"wifi": true
},
"tariffs": [
<Tariff 1>,
<Tariff 2>,
...
<Tariff N>
]
}
|
Field |
Required |
Type |
Restrictions |
Description |
|
|
Yes |
String[] |
max[i]=1000 |
The landing page URL. When the user goes to it, landing page parameters will be added to the request. |
|
|
Yes |
String |
[a-zA-Z0-9-_]{1,255} |
The offer ID. Used for updating information about this offer. |
|
|
Yes |
String[] |
max[i]=255 |
The name of the offer. |
|
|
No |
Object |
Room amenities. |
|
|
|
No |
String[] |
Board. Possible values |
|
|
|
No |
Boolean |
Wi-Fi availability. |
|
|
|
Yes |
Object[] |
The offer rates. The Tariff model. |
Landing page parameters
|
Parameter |
Number |
Description |
|
|
1 |
The token of the click to the landing page. |
|
|
1 |
The check-in date in ISO 8601 format. |
|
|
1 |
The check-out date in ISO 8601 format. |
|
|
1 |
How many adults can stay. |
|
|
0 or more |
The child's age. If lodging for multiple children is needed, multiple parameters are passed. |
|
|
1 |
The offer price shown to the user. |
|
|
1 |
The offer currency shown to the user. |
|
|
0 or more |
The IDs of the selected rates. |
Board types
|
Code |
Description |
|
AI |
All inclusive |
|
BB |
Bed and breakfast |
|
FB |
Full board (breakfast, lunch, and dinner) |
|
HB |
Half board (breakfast and dinner) |
|
RO |
Room only |
|
UAI |
Ultra All Inclusive |
|
LAI |
Light All Inclusive |
|
BD |
Bed and dinner |