Capacities & planning (push)
Planning update of available capacities, booking restrictions (stop sale, closed arrival, closed departure, minimal length of stay), rateplans and prices.
Granular updates are supported - you can include only availability, only rates, or both in the update. Similarly, rates update may include either prices or restrictions or both. Unchanged data should be omitted in the request.
Request body
Example request
{
"update": [
{
"availability": [
{
"availableRooms": 5
}
],
"rates": [
{
"planning": [
{
"perRoomPrice": {
"amount": "100.00",
"currency": "CZK"
},
"perPersonPriceMatrix": [
{
"personsCount": 2,
"price": {
"amount": "100.00",
"currency": "CZK"
}
}
],
"perOccupancyPriceMatrix": [
{
"adultsCount": 2,
"childrenCount": 1,
"price": {
"amount": "100.00",
"currency": "CZK"
}
}
]
}
]
}
]
}
]
}Response
Successful response
Example response
{
"success": true
}Changes
Changed in 3 of the 10 revisions of this API.121
- ●
the
update/items/rates/items/planning/items/restrictions/maximalLengthOfStayrequest property's min was set to0.00request-property-min-set
- ●
the
update/items/roomTypeRestrictions/items/restrictions/maximalLengthOfStayrequest property's min was set to0.00request-property-min-set
- ●
- ○
endpoint added
endpoint-added
- ○
- ▲
api path removed without deprecation
api-path-removed-without-deprecation
This revision also has 10 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲