---
uuid: 5f3126b4-c25c-464e-96ab-ba5133cd61f6
date_created: 2025-07-05T08:07:53.153Z
date_updated: 2026-03-11T09:25:34.696Z
outdated: true
end_of_support_date: 2024-06-01
routes: 
  - PUT /v1/proposals/{proposal_id}/attendees
---

# Upgrade from PUT /v1/proposals/{proposal\_id}/attendees to PUT /v2/proposals/{proposal\_id}/attendees

## Context

Upgrade from **PUT** - `/v1/proposals/{proposal_id}/attendees` to **PUT** -  `/v2/proposals/{proposal_id}/attendees`

⭐  **Key benefits :** Removing the notion of household\_id and having uniform values in our API endpoints

***

> As a BE B2B Dev
> I want to be able to distribute my households according to their position in the array and not an id
> In order to facilitate my repartition

***

## Impacts

Route to call :

* **PUT** - /v2/proposals/{proposal\_id}/attendees

## Input was:

```diff
[
  {
    "household_id": "A",
    "address": {
      "number": "15",
      "street": "AVENUE DES CHAMPS ELYSEES",
      "add_on": "6A",
      "town": "Luynes",
      "city": "Aix-en-Provence",
      "zip_code": "75000",
      "state_or_district": "CA",
      "country": "FRANCE",
      "country_code": "FR",
      "additional_information_1": "Chez M. Dupont",
      "additional_information_2": "Entreprise Clubmed"
    },
    "attendees": [
      {
        "id": "A",
        "customer_id": "123456789",
        "first_name": "Marc",
        "unicode_first_name": "北",
        "last_name": "Dupont",
        "unicode_last_name": "王",
        "email": "bei.wang@123.com",
        "civility_code": "MR",
        "health_pass_id": "1234567892",
        "identity": {
          "number": "E001241",
          "type": "TAX_NUMBER"
        },
        "birthdate": "2022-04-15",
        "travel_documents": [
          {
            "document_number": "09PR5121F",
            "type": "PASSPORT",
            "expiration_date": "20281015",
            "issuing_date": "20181015",
            "nationality": "FR",
            "issuing_country": "FR",
            "birth_country": "FR",
            "authority": "Prefecture de Torcy"
          }
        ],
        "phones": [
          {
            "number": "0623456789",
            "type": "MOBILE"
          }
        ],
        "optins": [
          {
            "channel": "EMAIL",
            "optin": true,
            "optin_partners": true
          }
        ]
      }
    ],
    "language_code": "FR"
  }
]
```

## Input became:

```diff
[
  {
    "address": {
      "number": "15",
      "street": "AVENUE DES CHAMPS ELYSEES",
      "add_on": "6A",
      "town": "Luynes",
      "city": "Aix-en-Provence",
      "zip_code": "75000",
      "state_or_district": "CA",
      "country": "FRANCE",
      "country_code": "FR",
      "additional_information_1": "Chez M. Dupont",
      "additional_information_2": "Entreprise Clubmed"
    },
    "attendees": [
      {
        "id": "A",
        "customer_id": "123456789",
        "first_name": "Marc",
        "unicode_first_name": "北",
        "last_name": "Dupont",
        "unicode_last_name": "王",
        "email": "bei.wang@123.com",
        "civility_code": "MR",
        "health_pass_id": "1234567892",
        "identity": {
          "number": "E001241",
          "type": "TAX_NUMBER"
        },
        "birthdate": "2022-04-15T10:23:00.234Z",
        "travel_documents": [
          {
            "document_number": "09PR5121F",
            "type": "PASSPORT",
            "expiration_date": "20281015",
            "issuing_date": "20181015",
            "nationality": "FR",
            "issuing_country": "FR",
            "birth_country": "FR",
            "authority": "Prefecture de Torcy"
          }
        ],
        "phones": [
          {
            "number": "0623456789",
            "type": "MOBILE"
          }
        ],
        "optins": [
          {
            "channel": "EMAIL",
            "optin": true,
            "optin_partners": true
          }
        ]
      }
    ],
    "language_code": "FR"
  }
]
```

## Output was:

```diff
[
  {
    "household_id": "string",
    "attendees": [
      {
        "id": "A",
        "customer_id": "123456789",
        "customer_type": "NEW_CUSTOMER",
        "loyalty_status": "GOLD"
      }
    ]
  }
]
```

## Output became:

```diff
[
  {
    "attendees": [
      {
        "id": "A",
        "customer_id": "123456789",
        "customer_type": "NEW_CUSTOMER",
        "loyalty_status": "GOLD"
      }
    ]
  }
]
```
