Skip to main content

Get Profile

GET/v3/loyalty/me

Using Query String to Get User Profile by input the country code and phone number

Request Parameters

Response Parameters

itemObject

Profile object

Example: (Refer to explanation below)

codeString

Successfully call this endpoint. If fail, will return error code object (Refer Appendix 1: Error Codes)

Example: "SUCCESS"


Profile object (item):
idString

Profile ID

Example: ""

keyString

Profile Key (Internal Usage)

Example: "EhIKBk1lbWJlchDOuOKz24XWkg4SGQoNTWVtYmVyUHJvZmlsZRDl-MTxiPOPjzY"

nameString

Profile name

Example: "yussuf"

emailString

Profile email

Example: "yussuf888@gmail.com"

nricString

IC Number

Example: ""

birthDateString

User Birth Date (YYYY:MM:DD)

Example: "0001-01-01"

genderString

Gender

Example: ""

addressObject

Refer to explanation below

Example: (Refer to explanation below)

memberTierString

Member Tier Point

Example: null

totalLoyaltyPointUint

Total Loyalty Point

Example: 0

hasPinCodeBool

User Pin

Example: false

loyaltyPointBalanceUint

Total Point Balance left

Example: 0

spendingPointUint

Point Spend

Example: 0

creditBalanceUint

Credit Balance

Example: 10160

statusString

Profile Status

Example: "ACTIVE"

createdAtDateTime

Creation date time

Example: "2018-10-19T03:39:47Z"

updatedAtDateTime

Last update date time

Example: "2020-06-29T10:14:33Z"


Address object:
addressLine1String

Address 1

Example: ""

addressLine2String

Address 2

Example: ""

postcodeString

Postcode

Example: ""

cityString

City

Example: ""

stateString

State

Example: ""

countryString

Country

Example: ""