Get Profile
Retrieve a loyalty member's full profile — name, contact, tier, loyalty point balance, and credit balance — by their phone number.
When to Use
▾
Use this endpoint when:
- Displaying a member's profile and point balance
- Looking up a member before applying loyalty discounts
How to Use
▾
/v3/loyalty/me?countryCode={countryCode}&phoneNumber={phoneNumber}GET with countryCode and phoneNumber as query parameters.
Request Parameters
▾
Pass countryCode and phoneNumber as query parameters.
Response Parameters
▾
Profile object
Profile ID
Example: "1019317844027415630"
Profile name
Example: "Oska"
Profile email
Example: "[email protected]"
IC Number
Example: ""
Passport number (empty if not applicable)
Example: ""
Refer to explanation below
Address 1
Example: ""
Address 2
Example: ""
Postcode
Example: ""
City
Example: ""
State
Example: ""
Country
Example: ""
Gender
Example: ""
Member state (empty if not set)
Example: ""
Member's referral code (empty if not set)
Example: ""
User Birth Date
Example: "2010-02-01T07:45:13Z"
Loyalty point balance
Example: 12561
Credit balance
Example: 40
Country code of member contact number
Example: "60"
Phone number of member
Example: "187824152"
Member profile image URL
Example: "https://storage.googleapis.com/rm-sandbox-asset/img/avatar.png"
User Pin
Example: true
Member tier details (null if not tiered)
Member tier key (internal usage)
Example: "EhQKCE1lcmNoYW50EJXVzd3wraqTORIdChFMb3lhbHR5TWVtYmVyVGllchCzz874m57FiRY"
Member tier label
Example: "Diamond"
Minimum loyalty point required for this tier
Example: 10000
Member tier description
Example: ["Diamond"]
Tier discount details (null if none)
Tier creation date time
Example: "2020-05-28T03:55:21Z"
Tier last update date time
Example: "0001-01-01T00:00:00Z"
Profile Status
Example: "ACTIVE"
Creation date time
Example: "2018-10-19T03:39:47Z"
Successfully call this endpoint. If fail, will return error code object (Refer Appendix 1: Error Codes)
Example: "SUCCESS"