v1
latestOpenAPI 3.0.22026-07-13122949.2 KBTermino endpoints
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.
post/planning-update
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
}