LOS
los objectrequired
Length of Stay. Keyed by check-in date (YYYY-MM-DD). Each value lists the price tiers available for that date, one entry per guest count.
checkInDate object[]
Length of Stay. Keyed by check-in date (YYYY-MM-DD). Each value lists the price tiers available for that date, one entry per guest count.
Array [
currencystringrequired
Example:
EURguestsinteger<int32>required
Number of guests these prices apply to
Example:
2pricenumber[]required
Total stay price indexed by length of stay: index N is the price for an (N+1)-night stay from the check-in date, and 0 means that length of stay is not bookable. At most 62 entries.
Example:
[100,200,300,400,500,600,700]]
rateIdstring<string>
Rate identifier. Identifies the rate this LOS belongs to. Defaults to DEFAULT when omitted.
Possible values: Value must match regular expression DEFAULT|REFUNDABLE|NON_REFUNDABLE
Example:
NON_REFUNDABLELOS
{
"los": {
"2019-05-13": [
{
"currency": "EUR",
"guests": 2,
"price": [
100,
200
]
},
{
"currency": "EUR",
"guests": 3,
"price": [
150,
250
]
}
],
"2019-05-14": [
{
"currency": "EUR",
"guests": 2,
"price": [
300
]
}
]
},
"rateId": "NON_REFUNDABLE"
}