Migration of the route GET /v1/products/{product_id}/thematics to GET /v2/products/{product_id}/thematics
- Obsolète
- 4 août 2025
- 1 route liée
Context
Upgrade from GET - /v1/products/{product_id}/thematics to GET - /v2/products/{product_id}/thematics
⭐ 2 Key benefits :
- images becomes an objects array
- "included" become "is_included"
Impacts
Route to call :
- GET -
/v2/products/{product_id}/thematics
Output
[
{
"id": "cruises_theme_golf",
"children": [
"TH_SAVOUR"
],
"type": "FOOD_AND_BEVERAGE",
"is_specific_to_product": true,
"title": "FOOD AND DRINK",
"sub_title": "Discover a world of flavours",
"description": "With dining venues available for each meal, every member of family will find exatly what they want",
- "images": [ "", "" ],
+ "images": [
+ {
+ "url": "image1.jpg",
+ "type": "MAIN"
+ },
+ {
+ "url": "image2.jpg",
+ "type": "COMMON"
+ },
+ {
+ "url": "image3.jpg",
+ "type": "COMMON"
+ }
],
"items": [
{
"title": "Sherry Golf Jerez",
"sub_title": "Cadix",
"description": "18 Trous - Par 72 - 6572 m",
"images": [
"string"
]
}
],
- "included": true,
+ "is_included": true,
"provided_services": {
"is_included": "true",
"amenities": [
"string"
],
"drinks": [
"string"
]
},
"activity_count": {
"on_demand": 5,
"included_activity": 4
},
"_links": [
{
"rel": "self",
"method": "GET",
"href": "https://api.clubmed.com/products",
"label": "A label"
}
]
}
]