Migration of the route GET /v1/products/{product_id}/calendar to GET /v2/products/{product_id}/calendar
- Outdated
- June 10, 2025
- 1 related route
Context
Upgrade from GET - /v1/products/{product_id}/calendar to GET - /v2/products/{product_id}/calendar
⭐ Key benefit :
- Get new "PRE_BOOKABLE" status for ODR dates in the calendar, allowing you to vizualise future bookables dates
Impacts
Route to call :
- GET -
/v2/products/{product_id}/calendar
Output
A new availibility status is now available : PRE_BOOKABLE. This status means that the product is not yet available for booking, but will be in the near future.
{
"months": [
{
"id": 202501,
"days": [
{
"id": 20250101,
"availability": "OPEN",
"terms_and_conditions": {
"occupancy_rate": 94.81,
"departure_city": null,
"departure_location": null,
"accommodations": [
{
"id": "S2",
"label": "Suite"
}
],
"offers": [],
"package": "ALL_INCLUSIVE",
"departure_date": "20250101",
"arrival_date": "20250101",
"duration": 7,
"total_duration": 7,
"instalment_count": null,
"default_price_display": "per_trip",
"fees_included": true,
"adults_count": 2,
"children_count": 0
},
"price": {
"currency": "EUR",
"is_best_price_month": false,
"per_trip": {
"best_price": 9554,
"fees_amount": 40,
"initial_price": 9554
},
"per_night": {
"best_price": 1365,
"fees_amount": 6,
"initial_price": 1365
}
}
},
{
"id": 20250102,
! "availability": "PRE_BOOKABLE",
"terms_and_conditions": null,
"price": null
}
]
}
]
}