GET

https://{customerDomain}.fabric.zone

/
api-commerceIdentity
/
user
/
{userId}

Authorizations

Authorization
string
headerrequired

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

isActive
boolean

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

registrationDate
string

Time user was registered

expiryDate
string

Time user's registration expires

roles
string[]

User roles

name
object

User's full name

phone
object[]

User's telephone numbers and details

email
string

User's email address

extra
object

Extra user details

registrationSite
string

XXX

account
string

Merchant account ID

userId
string

User ID

address
object[]

User address

provider
object[]

Additional user details

createdAt
string

Time user was created

updatedAt
string

Time user was last updated