Profile information
GET {{kroger-baseUrl}}/identity/profile
Provides access to an authenticated customer's profile information.
Note: the customer must be authenticated using the OAuth2 Authorization
Code grant type.
Body
PARAM
Key | Datatype | Required | Description |
HEADERS
Key | Datatype | Required | Description |
RESPONSES
status OK
{
"data": {
"firstName": "<string>",
"lastName": "<string>",
"addresses": [
{
"addressLine1": "<string>",
"addressLine2": "<string>",
"city": "<string>",
"stateCode": "<string>",
"postalCode": "<string>",
"countryCode": "<string>",
"addressType": "<string>"
},
{
"addressLine1": "<string>",
"addressLine2": "<string>",
"city": "<string>",
"stateCode": "<string>",
"postalCode": "<string>",
"countryCode": "<string>",
"addressType": "<string>"
}
],
"loyalty": {
"cardNumber": "<string>"
},
"id": "<string>",
"email": "<string>",
"phoneNumbers": [
{
"type": "<string>",
"value": "<string>"
},
{
"type": "<string>",
"value": "<string>"
}
]
},
"meta": {}
} |