API : Personal Data Access

Last updated: April 17, 2025

How to Use ?

Personal Data Access


Description - This page is not related to the authentication per se, but can give you insight on how to get some information about a customer.
User information is stored by other applications, like Identity, Purchase, Address, ... This example show a call to Identity to get some customer's information.
To use these features you need access token you obtained through Login



How to get identity information of a user ?


Step 1 Get an access token from Customer Growth Login , check the PKCE documentation.

Step 2 Now subscribe on API management portal for Identity apis. Once your request is validated you will get a api key. You need this api key to pass through API management proxy.

Step 3
GET https://api-eu.decathlon.net/identity

Headers :
Name Value Required
Authorization Bearer Yes
x-api-key The x-api-key you get by subscribing to Identity Yes

Examples


Example :
curl -X GET \
https://api-eu.decathlon.net/identity/v1/members/profile/me \
  -H 'Authorization: Bearer eyJhbGciOiJSUz1NiJ9.eyJjb3VudHJ5IjoiRlIiLCJzdWIiOiI4Mjk4MDQ0Zi1lMzAzLTRiYzctYmYyZi0wY2E4M2QyMDJmMmYiLCJpc3MiOiJka2Nvbm5lY3QucHJlcHJvZC5vcmciLCJsYXN0X25hbWUiOiJWVjMiLCJkYXRhX2NlbnRlciI6IkVVIiwicGVyc29uaWQiOiI5OTAxNDM0MDQwMyIsImV4cCI6MTUzNDkyNjIwNywiZmlyc3RfbmFtZSI6InZ2MSIsImlhdCI6MTUzNDkyNTMwNywiY2xpZW50X2lkIjoiYWE2ZmQ0NWMtZWVhMC00MWZjLTllMjctNmE3YjNhYTUwYjAyIn0.qERGiO6WD8NrdH_t3kYBL7jSLA66sAS8DXH84wX0tU-J7EROBAdTV8e120JKLJph3c2M5dntwOkKywe7pRdJ32pH0THGHhq4S4FIQ31sA7WYhm1Gmi_YnHEnaStzUmKPFJfFjywanIdmFxtAftFoD0xM9QuMyfIEqZ1_jLlitnJ2AAtBfAkCDgoLXNhR7sVB9Z7Z99ltbbk9zMkYRd7ToFyYJGXarvXCokO8rgMDCNu3_P0KywU83CAb3iBYVYTKyJyGOIC0ExHGLtMwm3xOsby3J6AJCPZ4L3w7RWfkdTGTLaU7YBFyU2qhhFzlAruyKGJ98TLujpBhTQBBm0CfPQ' \
  -H 'Cache-Control: no-cache' \
  -H 'x-api-key: XXXXXXX-28eb-4dae-8bf4-b16b374b3452'
                                           
                                            
Response :

{
"sub": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"location": "FR",
"created_at": "2017-07-21T17:32:28Z",
"created_from": "client_id",
"created_by": "d7f14b78-b192-42d2-bcaf-e6c84f7fbf03 or web_application",
"updated_at": "2017-07-21T17:32:28Z",
"updated_from": "client_id",
"updated_by": "d7f14b78-b192-42d2-bcaf-e6c84f7fbf03 or web_application",
"claims": {
    "name": "Lastname Firstanme",
    "given_name": "Firstname",
    "family_name": "Lastname",
    "middle_name": "",
    "nickname": "first",
    "preferred_username": "firsty",
    "picture": "https://pbs.twimg.com/profile_images/1040661292284108800/Oqy9FEPy_400x400.jpg",
    "website": "https://www.mywebsite.net/",
    "profile": "https://www.mywebsite.net/#about",
    "email": "firstname.lastname@decathlon.com",
    "email_verified": false,
    "gender": "male",
    "birthdate": "1970-01-01",
    "zone_info": "string",
    "locale": "fr-FR",
    "phone_number": "33612345678",
    "phone_verified": true,
    "created_at": "2017-07-21T17:32:28Z",
    "created_from": "client_id",
    "created_by": "d7f14b78-b192-42d2-bcaf-e6c84f7fbf03 or web_application",
    "updated_at": "2017-07-21T17:32:28Z",
    "updated_from": "client_id",
    "updated_by": "d7f14b78-b192-42d2-bcaf-e6c84f7fbf03 or web_application"
},
"roles": [
    {
    "id": "com.decathlon.legal-entity",
    "created_at": "2017-07-21T17:32:28Z",
    "created_from": "client_id",
    "created_by": "d7f14b78-b192-42d2-bcaf-e6c84f7fbf03 or web_application",
    "updated_at": "2017-07-21T17:32:28Z",
    "updated_from": "client_id",
    "updated_by": "d7f14b78-b192-42d2-bcaf-e6c84f7fbf03 or web_application"
    }
],
"identifiers": [
    [
    {
        "id": "email",
        "value": "string",
        "verified_date": "2017-07-21T17:32:28Z"
    },
    {
        "id": "loyalty_card",
        "value": "string",
        "verified_date": null
    }
    ]
],
"additional_information": [
    {
    "id": "bg_egn",
    "value": "string",
    "country": "string",
    "created_at": "2017-07-21T17:32:28Z",
    "created_from": "client_id",
    "created_by": "d7f14b78-b192-42d2-bcaf-e6c84f7fbf03 or web_application",
    "updated_at": "2017-07-21T17:32:28Z",
    "updated_from": "client_id",
    "updated_by": "d7f14b78-b192-42d2-bcaf-e6c84f7fbf03 or web_application"
    }
]
}
                                           
                                            

For more information, see the Identity swagger
Terms & Services