---
uuid: 8484850d-471e-441d-b03a-403dcadd4564
date_created: 2025-07-05T08:07:51.394Z
date_updated: 2026-03-11T09:25:53.710Z
outdated: true
end_of_support_date: 2022-07-05
routes: 
  - GET /v1/products/{product_id}/accommodations/{accommodation_id}
---

# Impacts migration de la route GET /v1/products​/{product\_id}​/accommodations​/{accommodation\_id}

## Context

In order to improve accommodations' presentation, we will have multiple plans instead of one

***

> As a frontend developer
> I want to display multiple plans
> In order to better present accommodations when they have multiple floors

***

## Impacts

Route to call: `GET v2/products​/{product_id}​/accommodations​/{accommodation_id}`

Input parameters : unchanged

Output model:

```diff
{
  "id": "A2",
  "label": "Club room",
  "exclusive_collection": true,
  "description": "Open onto the gardens and common walkways, the CLub room is comfortable and elegant. <br> Ideal for a couple or family with one child",
  "seller_description": "Cette Villa d'une surface construite de 340 m², dont 180 m² climatisés, est située sur un terrain privatif de 1590 à 2300 m² pouvant accueillir jusqu'à 6 personnes* dont 4 adultes*, offre un hébergement intime et spacieux : une chambre Prestige de 48 m² avec dressing, une salle de bain avec baignoire et douche, et une chambre Confort de 32 m² avec salle d'eau privative. Vous trouverez également une cuisine entièrement équipée de 10 m², un salon et une salle à manger de 69 m². A l'extérieur un jardin arboré qui comprend une véranda mauricienne, véritable pièce à vivre extérieure de 40 m² ainsi qu'une piscine privative à débordement de 35 m² pour des moments calmes et privilégiés. * Lit bébé offert dans la chambre Prestige et possibilité de lit gigogne dans la chambre Confort pour un enfant jusqu'à 11 ans. Occupation1 entre 31 m2 et 31 m2 / 333 sq feet et 333 sq feet 1 Banquette(s) 0.80 x 1.90m, 2 Lit(s) 1 x 2m zippable(s)",
  "area": {
    "min": 39,
    "max": 39,
    "unit": "m²"
  },
  "ranking": "HIGH",
  "comfort_type": {
    "id": "comfort_type_club",
    "label": "Club"
  },
  "connecting_room": true,
  "family_room": true,
  "reduced_mobility_access": true,
  "total_stock": 25,
  "view": {
    "id": "garden_view",
    "label": "Garden View"
  },
  "accommodation_categories": [
    {
      "id": "000021",
      "label": "5-Trident Luxury Space Deluxe"
    }
  ],
  "opening_dates": [
    {
      "opening": "20171222",
      "closing": "20180104"
    }
  ],
  "capacity": {
    "min": 1,
    "max": 4
  },
  "strengths": [
    {
      "id": "furnished_balcony",
      "label": "Furnished balcony"
    }
  ],
  "equipments": [
    {
      "id": "MAT_000002",
      "label": "Hair-dryer",
      "ranking": "HIGH"
    }
  ],
  "services": [
    {
      "id": "MST_ACT_SERLGT_000311",
      "label": "Bottle of water",
      "ranking": "HIGH"
    }
  ],
  "images": [
    "https://ns.clubmed.com/ipmm/1-MEDIA/01.VILLAGES/1.1MER/CANCUN-YUCATAN/32-31-30-29-28-27-26-25-24-23-22-21-20-19-18-17-16-15-14-13-12-11-10-9-8-7-6-5-4-3-2-1-PHOTOS/CANCH117008.jpg"
  ],
  "bathroom_equipments": [
    {
      "id": "rain_shower",
      "label": "Rain Shower"
    }
  ],
  "outside_facilities": [
    {
      "id": "furnished_balcony",
      "label": "Furnished balcony",
      "area": {
        "min": 39,
        "max": 39,
        "unit": "m²"
      }
    }
  ],
  "_links": [
    {
      "method": "GET",
      "href": "https://api.clubmed.com/v1/products/AGAC",
      "rel": "product_detail"
    }
  ],
  "associated_accommodations": [
    {
      "id": "A2"
    }
  ],
  "restriction_information": [
    {
      "id": "restriction01",
      "description": "Certain Room types may be temporarily unavailable due to reduced Resort capacity."
    }
  ],
-  "plan": "https://path/to/room/plan.jpg",
+  "plans": [
+    "https://path/to/room/plan.jpg"
+  ]
}
```
