ManagementUsersUsers merchant level

Get user details

GET
/merchants/{merchantId}/users/{userId}

Returns user details for the userId and the merchantId specified in the path.

To make this request, your API credential must have the following role:

  • Management API—Users read and write

Authorization

AuthorizationBasic <token>

In: header

Path Parameters

merchantId*string

Unique identifier of the merchant.

userId*string

Unique identifier of the user.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/merchants/string/users/string"
{  "_links": {    "self": {      "href": "string"    }  },  "accountGroups": [    "string"  ],  "active": true,  "apps": [    "string"  ],  "email": "string",  "id": "string",  "name": {    "firstName": "string",    "lastName": "string"  },  "roles": [    "string"  ],  "timeZoneCode": "string",  "username": "string"}