---
uuid: fc574e09-bb2c-4bf7-9562-eb9ad7b1c8e5
date_created: 2025-07-05T08:07:47.323Z
date_updated: 2026-03-11T09:26:05.119Z
outdated: true
end_of_support_date: 2023-10-11
routes: 
  - GET /v0/customers/{customer_id}/profile
---

# Impact migration of the route GET /v0/customers/{customer\_id}/profile

Upgrade from `GET /v0/customers/{customer_id}/profile` to `GET /v2/customers/{customer_id}/profile`

ℹ️  Input parameters : unchanged
ℹ️ In the Response -> the `identity_number` field is deleted then replaced by a new object called `identity` as described below
ℹ️ Response value can be null

## Impacts

Call  `GET /v2/customers/{customer_id}/profile` instead of `GET /v0/customers/{customer_id}/profile`

## Response

### Output example value

```diff
{
  "gm_number": "20880342",
  "email": "jeanbarasdumonde@yopmail.com",
  "gender": "M",
  "civility": "MR",
  "unicode_civility": "",
  "first_name": "JEAN",
  "unicode_first_name": "",
  "last_name": "BARAS",
  "unicode_last_name": "",
  "health_pass_id": "",
  "language_code": "FR",
  "birth_country_code": "",
  "customer_type": "CLIENT",
  "customer_status": "PROSPECT",
  "birthdate": "19850211",
  "birthday": "19850211",
  "personal_data_usage_allowed": false,
  "address": {
    "number": "",
    "street": "",
    "town": "",
    "city": "",
    "country": "FRANCE",
    "add_on": "",
    "zip_code": "",
    "state_or_district": "",
    "country_code": "FR",
    "additional_information_1": "",
    "additional_information_2": ""
  },
  "loyalty_program": {
    "points": 0,
    "status": "NONE"
  },
  "optins": [
    {
      "channel": "EMAIL",
      "optin": false,
      "optin_partners": false
    }
  ],
  "phones": [],
  "blacklisted": false,
  "_links": [
    {
      "href": "https://api-test/v0/customers/144900489/profile",
      "method": "GET",
      "rel": "self"
    },
    {
      "href": "https://api-test/v0/schemas/profile/fr-FR",
      "method": "GET",
      "rel": "schema"
    },
    {
      "href": "https://api-test/v1/schemas/profile/fr-FR",
      "method": "GET",
      "rel": "schema_v1"
    }
  ],
-  "identity_number": "E001241",
+  "identity": {
+    "number": "E001241",
+    "type": "TAX_NUMBER"
  }
}
```

### Model

| Field           | Description                                                                                                | Type   | Example       |
| --------------- | ---------------------------------------------------------------------------------------------------------- | ------ | ------------- |
| identity.number |  National identifier code attached to the identity document                                                | string | "E001241"     |
| identity.type   | Type of national identifier code (CPF, CUIL, TAX\_NUMBER, SECURITY\_NUMBER, ID\_NUMBER, NATIONAL\_REGISTER | string | "TAX\_NUMBER" |
