Skip to main content

Get User Profile

Method : GET
URL :https://open.revenuemonster.my/v3/user
Sandbox URL :https://sb-open.revenuemonster.my/v3/user

note

To query for ALL users under this merchant.

Request Parameters:

note

No request parameter is required for this endpoint.

Response Parameters

ParameterTypeDescriptionExample
itemObject[]Array of user object(Refer to explanation below)
codeStringSuccessfully call this endpoint. If fail, will return error code object (Refer Appendix 1: Error Codes)"SUCCESS"

Array of store object (item):
ParameterTypeDescriptionExample
idStringUser ID“8190656045166232716”
firstNameStringFirst name of user“MOHAMED”
lastNameStringLast name of user“YUSSUF”
countryCodeStringCountry code of user contact number"60"
phoneNumberStringPhone number of user"377334080"
emailStringEmail address of user"yussuf@revenuemonster.my"
avatarUrlStringPublic URL to show user’s avatar"https://storage.googleapis.com/rm-prod-asset/img/avatar.png"
statusStringCurrent status of user“ACTIVE”
storeIdStringStore ID"6170506694335521334"
isActiveBooleanUser active or deactivated statustrue
createdAtDateTimeCreation date time of user"2018-02-12T08:53:13Z"
updatedAtDateTimeLast update date time of user"2018-02-12T08:53:13Z"

Example Response

{
"item": {
"id": "2728070797661038926",
"firstName": "M",
"lastName": "YUSSUF",
"countryCode": "60",
"phoneNumber": "176473298",
"email": "yussuf@revenuemonster.my",
"avatarUrl": "https://storage.googleapis.com/rm-dev-asset/img/avatar.png",
"status": "ACTIVE",
"storeId": ["6883264812332703106"],
"isActive": true,
"createdAt": "2018-05-14T09:26:23Z",
"updatedAt": "2018-05-15T03:29:56Z"
},
"code": "SUCCESS"
}