User

User information endpoints

Get current user information

get

Returns information about the currently authenticated user including profile data, preferences, and selected address.

Header parameters
X-CookiestringRequired

Use X-Cookie header instead of Cookie header in "try out" section. Use Cookie header while testing in postman or other tools. Some commerce applications may support 'sesionid' instead of 'osessionid'.

Example: osessionid=abc123
Responses
chevron-right
200

User information retrieved

application/json

Information about the currently authenticated user. Contains profile data (name, email, phone), preferences (email/SMS/call permissions), segment information (price list, stock list, currency), selected delivery address, and authentication status. Requires authenticated session cookie.

pkintegerRequiredExample: 42
first_namestringOptionalExample: John
last_namestringOptionalExample: Doe
phonestringOptionalExample: 905551234567
emailstringOptionalExample: [email protected]
email_allowedbooleanOptionalExample: true
sms_allowedbooleanOptionalExample: false
call_allowedbooleanOptionalExample: true
hashed_emailstringOptional

MD5 hash of the email address

Example: 5d41402abc4b2a76b9719d911017c592
date_joinedstring · date-timeOptionalExample: 2024-01-15T10:30:00Z
last_loginstring · date-timeOptionalExample: 2024-10-30T14:20:00Z
genderstring · enumOptionalExample: MPossible values:
date_of_birthstring · dateOptionalExample: 1990-05-15
is_email_verifiedbooleanOptional

Whether the user's email is verified

Example: true
is_social_networks_connectedbooleanOptional

Whether the user has connected social accounts

Example: false
client_typestringOptional

Client type identifier

Example: web
get
/current_user/

Last updated

Was this helpful?