---
uuid: 78470f30-c6df-49f4-a1c0-90ba8a1cab10
date_created: 2025-07-05T08:07:47.194Z
date_updated: 2026-03-11T09:25:53.710Z
outdated: true
end_of_support_date: 2023-11-10
routes: 
  - GET /v0/customers/{customer_id}/commercial_offers
---

# Impacts migration of the route GET /v0/customers/{customer\_id}/commercial\_offers

## Context

Upgrade from **GET** - `/v0/customers/{customer_id}/commercial_offers` to **GET** - `/v1/customers/{customer_id}/commercial_offers`

⭐  Key benefits : Give the ability to display booking informations for multistays.

ℹ️  We added a new `stays` array instead of the field `stay_date`

## Impacts

Route to call:

* **GET** - `/v0/customers/{customer_id}/commercial_offers`

**Input parameters** : unchanged

**Output Model :** ⚠️ **Evolved**

```diff
[
  {
    "id": 1234567,
    "type": "CREDIT_NOTE",
    "amount": 350.25,
    "currency": "EUR",
    "validity_start_date": "20180328",
    "validity_end_date": "20190328",
    "date_of_use": "20181113",
    "origin_type": "CLAIM",
    "origin": {
      "booking_id": "2324252",
-      "stay_date": "20210403"
+      "stays": [
+        {
+          "start_date": "20210403",
+          "end_date": "20200416",
+          "product_id": "KABC"
+        }
+      ]
    },
    "status": "UNAVAILABLE",
    "godchild_information": {
      "last_name": "Doe",
      "unicode_last_name": "王",
      "first_name": "John",
      "unicode_first_name": "北"
    },
    "godfather_information": {
      "last_name": "Doe",
      "unicode_last_name": "王",
      "first_name": "John",
      "unicode_first_name": "北"
    }
  }
]
```

**Model**

| Champ API                   | Définition                    | Example  | Type   |
| --------------------------- | ----------------------------- | -------- | ------ |
| `origin.stays[].start_date` | start day of the stay         | 20240403 | string |
| `origin.stays[].end_date`   | end day of the stay           | 20240403 | string |
| `origin.stays[].product_id` | product concerned by the stay | KABC     | string |
