Profile
Authenticated profile retrieval and updates
Session cookie (e.g., sessionid=abc123)
Session cookie header (e.g. sessionid=abc123)
Profile retrieved
Authentication required
GET /users/profile/ HTTP/1.1
Host: sandbox.akinon.com
Cookie: text
Accept: */*
{
"id": 1,
"first_name": "text",
"last_name": "text",
"email_allowed": true,
"sms_allowed": true,
"whatsapp_allowed": true,
"call_allowed": null,
"avatar": null,
"email": "name@gmail.com",
"phone": null,
"date_of_birth": null,
"gender": "male",
"genders": [
"male"
],
"language_code": "text",
"attributes": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"date_joined": "2026-01-01T00:00:00.000Z"
}Updates profile fields. Required fields are driven by USER_REQUIRED_FIELDS (System Configuration).
Session cookie (e.g., sessionid=abc123)
Session cookie header (e.g. sessionid=abc123)
CSRF token header for unsafe methods (POST/PUT/PATCH/DELETE)
Profile updated
Validation error
Authentication required
PUT /users/profile/ HTTP/1.1
Host: sandbox.akinon.com
Cookie: text
X-CSRFToken: text
Content-Type: application/json
Accept: */*
Content-Length: 355
{
"id": 1,
"first_name": "text",
"last_name": "text",
"email_allowed": true,
"sms_allowed": true,
"whatsapp_allowed": true,
"call_allowed": null,
"avatar": null,
"email": "name@gmail.com",
"phone": null,
"date_of_birth": null,
"gender": "male",
"genders": [
"male"
],
"language_code": "text",
"attributes": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"date_joined": "2026-01-01T00:00:00.000Z"
}{
"id": 1,
"first_name": "text",
"last_name": "text",
"email_allowed": true,
"sms_allowed": true,
"whatsapp_allowed": true,
"call_allowed": null,
"avatar": null,
"email": "name@gmail.com",
"phone": null,
"date_of_birth": null,
"gender": "male",
"genders": [
"male"
],
"language_code": "text",
"attributes": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"date_joined": "2026-01-01T00:00:00.000Z"
}Session cookie (e.g., sessionid=abc123)
Session cookie header (e.g. sessionid=abc123)
CSRF token header for unsafe methods (POST/PUT/PATCH/DELETE)
Profile updated
Validation error
Authentication required
PATCH /users/profile/ HTTP/1.1
Host: sandbox.akinon.com
Cookie: text
X-CSRFToken: text
Content-Type: application/json
Accept: */*
Content-Length: 355
{
"id": 1,
"first_name": "text",
"last_name": "text",
"email_allowed": true,
"sms_allowed": true,
"whatsapp_allowed": true,
"call_allowed": null,
"avatar": null,
"email": "name@gmail.com",
"phone": null,
"date_of_birth": null,
"gender": "male",
"genders": [
"male"
],
"language_code": "text",
"attributes": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"date_joined": "2026-01-01T00:00:00.000Z"
}{
"id": 1,
"first_name": "text",
"last_name": "text",
"email_allowed": true,
"sms_allowed": true,
"whatsapp_allowed": true,
"call_allowed": null,
"avatar": null,
"email": "name@gmail.com",
"phone": null,
"date_of_birth": null,
"gender": "male",
"genders": [
"male"
],
"language_code": "text",
"attributes": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"date_joined": "2026-01-01T00:00:00.000Z"
}Session cookie (e.g., sessionid=abc123)
Session cookie header (e.g. sessionid=abc123)
Profile retrieved
Verification code for phone changes
Request a new verification code
Authentication required
GET /users/profile-with-loyalty/ HTTP/1.1
Host: sandbox.akinon.com
Cookie: text
Accept: */*
{
"id": 1,
"first_name": "text",
"last_name": "text",
"email_allowed": true,
"sms_allowed": true,
"whatsapp_allowed": true,
"call_allowed": null,
"avatar": null,
"email": "name@gmail.com",
"phone": null,
"date_of_birth": null,
"gender": "male",
"genders": [
"male"
],
"language_code": "text",
"attributes": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"date_joined": "2026-01-01T00:00:00.000Z",
"code": null,
"resend": true
}Updates profile and, when configured, synchronizes loyalty data using CUSTOMER_LOYALTY_CARD_SERVICE (Dynamic Configuration). Phone changes require SMS verification (code + resend flow).
Session cookie (e.g., sessionid=abc123)
Session cookie header (e.g. sessionid=abc123)
CSRF token header for unsafe methods (POST/PUT/PATCH/DELETE)
Verification code for phone changes
Request a new verification code
Profile updated
Verification code for phone changes
Request a new verification code
Verification code sent for phone confirmation
Validation error
Authentication required
PUT /users/profile-with-loyalty/ HTTP/1.1
Host: sandbox.akinon.com
Cookie: text
X-CSRFToken: text
Content-Type: application/json
Accept: */*
Content-Length: 381
{
"id": 1,
"first_name": "text",
"last_name": "text",
"email_allowed": true,
"sms_allowed": true,
"whatsapp_allowed": true,
"call_allowed": null,
"avatar": null,
"email": "name@gmail.com",
"phone": null,
"date_of_birth": null,
"gender": "male",
"genders": [
"male"
],
"language_code": "text",
"attributes": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"date_joined": "2026-01-01T00:00:00.000Z",
"code": null,
"resend": true
}{
"id": 1,
"first_name": "text",
"last_name": "text",
"email_allowed": true,
"sms_allowed": true,
"whatsapp_allowed": true,
"call_allowed": null,
"avatar": null,
"email": "name@gmail.com",
"phone": null,
"date_of_birth": null,
"gender": "male",
"genders": [
"male"
],
"language_code": "text",
"attributes": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"date_joined": "2026-01-01T00:00:00.000Z",
"code": null,
"resend": true
}Session cookie (e.g., sessionid=abc123)
Session cookie header (e.g. sessionid=abc123)
CSRF token header for unsafe methods (POST/PUT/PATCH/DELETE)
Verification code for phone changes
Request a new verification code
Profile updated
Verification code for phone changes
Request a new verification code
Verification code sent for phone confirmation
Validation error
Authentication required
PATCH /users/profile-with-loyalty/ HTTP/1.1
Host: sandbox.akinon.com
Cookie: text
X-CSRFToken: text
Content-Type: application/json
Accept: */*
Content-Length: 381
{
"id": 1,
"first_name": "text",
"last_name": "text",
"email_allowed": true,
"sms_allowed": true,
"whatsapp_allowed": true,
"call_allowed": null,
"avatar": null,
"email": "name@gmail.com",
"phone": null,
"date_of_birth": null,
"gender": "male",
"genders": [
"male"
],
"language_code": "text",
"attributes": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"date_joined": "2026-01-01T00:00:00.000Z",
"code": null,
"resend": true
}{
"id": 1,
"first_name": "text",
"last_name": "text",
"email_allowed": true,
"sms_allowed": true,
"whatsapp_allowed": true,
"call_allowed": null,
"avatar": null,
"email": "name@gmail.com",
"phone": null,
"date_of_birth": null,
"gender": "male",
"genders": [
"male"
],
"language_code": "text",
"attributes": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"date_joined": "2026-01-01T00:00:00.000Z",
"code": null,
"resend": true
}Last updated
Was this helpful?

