Retrieve user's own profile

Request

Retrieves the user's own profile as requested by the user.

Security
SecretApiKey or JWT
curl -i -X GET \
  https://www.rebilly.com/_mock/catalog/all/profile \
  -H 'REB-APIKEY: YOUR_API_KEY_HERE'

Responses

Profile retrieved.

Bodyapplication/json
idstring, <= 50 characters(ResourceId)read-only

ID of the user.

Example:"4f6cf35x-2c4y-483z-a0a9-158621f77a21"
emailstring, (email), <= 100 charactersread-only

Email address of the user.

firstNamestringread-only

User's first name.

lastNamestringread-only

User's last name.

businessPhonestring or nullread-only

User's business phone number.

mobilePhonestring or nullread-only

User's mobile phone number.

permissionsArray of strings, (operationId)(AclPermissions)read-only

Permissions that the user has within organizations. Use the wildcard character * for full access.

Example:
[ "PostFile", "StorefrontGetAccount", "StorefrontGetWebsite", "StorefrontGetKycDocument", "StorefrontPostKycDocument" ]
createdTimestring, (date-time)(CreatedTime)read-only

Date and time when the resource is created. This value is set automatically when the resource is created.

updatedTimestring, (date-time)(UpdatedTime)read-only

Date and time when the resource is updated. This value is set automatically when the resource is updated.

availableCurrenciesArray of stringsread-only

Array of reporting currencies that are enabled for the merchant.

reportingCurrencystringread-only

User's currency code in ISO 4217 format. This value is used for reports.

loginTimestring or null, (date-time)read-only

Date and time when the user last logged in.

statusstringread-only

Status of the user account.

Enum:"active""inactive""pending-confirmation"
countrystringread-only

User's country of residence in ISO 3166 alpha-2 country code. For examples, see ISO.org.

preferencesobject or null

User preferences, such as: timezone, language, and more. This is an object with custom properties.

hasPermissionsEmulationbooleanread-only

Specifies if the current user session has permissions emulation enabled.

displayNamestringread-only

User's full display name.

hashstringread-only

Unique hash value that represents the user.

Response
{ "id": "4f6cf35x-2c4y-483z-a0a9-158621f77a21", "email": "user@example.com", "firstName": "string", "lastName": "string", "businessPhone": "string", "mobilePhone": "string", "permissions": [ "PostFile", "StorefrontGetAccount", "StorefrontGetWebsite", "StorefrontGetKycDocument", "StorefrontPostKycDocument" ], "createdTime": "2019-08-24T14:15:22Z", "updatedTime": "2019-08-24T14:15:22Z", "availableCurrencies": [ "string" ], "reportingCurrency": "string", "loginTime": "2019-08-24T14:15:22Z", "status": "active", "country": "string", "preferences": {}, "hasPermissionsEmulation": true, "displayName": "string", "hash": "string", "_links": [ {} ] }