GET
/
api-commerceIdentity
/
user
/
{userId}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

x-site-context
string
required

The x-site-context header is a JSON object that contains information about the source you wish to pull from. The mandatory account is the 24 character identifier found in Copilot. The channel (Sales channel ID), stage (environment name), and date attributes can be used to further narrow the scope of your data source.

Path Parameters

userId
string
required

User ID

Response

200 - application/json

User

account
string

Merchant account ID

address
object[]

User address

createdAt
string

Time user was created

email
string

User's email address

expiryDate
string

Time user's registration expires

extra
object

Extra user details

isActive
boolean

true: User is active<br />false: User is not active

name
object

User's full name

phone
object[]

User's telephone numbers and details

provider
object[]

Additional user details

registrationDate
string

Time user was registered

registrationSite
string

XXX

roles
string[]

User roles

updatedAt
string

Time user was last updated

userId
string

User ID