Skip to main content

Get Loyalty Member By ID

Retrieve a loyalty member's full record by memberId.

When to Use

Use this endpoint when:

  • Looking up a member's details for a profile page
  • Verifying a member exists before operating on their account

How to Use

Endpoint
GET/v3/loyalty/member/{memberId}

GET /v3/loyalty/member/{memberId}. No request body required.


Request Parameters

note
  • The URL is consists of [base_URL]/v3/loyalty/member/[member_id]

  • Pass an empty JSON object Example: {}

Response Parameters

itemOBJECT

Loyalty member object

idSTRING

Member ID

Example: "2940921291529816182"

nameSTRING

Member name

Example: "Gan"

emailSTRING

Email address of member

Example: "[email protected]"

nricSTRING

IC Number

Example: ""

passportSTRING

Passport number (empty if not applicable)

Example: ""

addressOBJECT

Member address

addressLine1STRING

Address 1

Example: ""

addressLine2STRING

Address 2

Example: ""

postcodeSTRING

Postcode

Example: ""

citySTRING

City

Example: ""

stateSTRING

State

Example: ""

countrySTRING

Country

Example: ""

genderSTRING

Gender

Example: ""

stateSTRING

Member state (empty if not set)

Example: ""

referralCodeSTRING

Member's referral code (empty if not set)

Example: ""

birthDateSTRING

Member Birth Date

Example: "0001-01-01T00:00:00Z"

loyaltyPointINTEGER

Loyalty point balance

Example: 0

creditINTEGER

Credit balance

Example: 0

countryCodeSTRING

Country code of member contact number

Example: "60"

phoneNumberSTRING

Phone number of member

Example: "187824152"

profileImageURLSTRING

Member profile image URL

Example: "https://storage.googleapis.com/rm-sandbox-asset/img/avatar.png"

hasPinCodeBOOLEAN

User Pin

Example: true

memberTierOBJECT

Member tier details (null if not tiered)

keySTRING

Member tier key (internal usage)

Example: "EhQKCE1lcmNoYW50EJXVzd3wraqTORIdChFMb3lhbHR5TWVtYmVyVGllchCzz874m57FiRY"

labelSTRING

Member tier label

Example: "Diamond"

minimumPointINTEGER

Minimum loyalty point required for this tier

Example: 10000

descriptionARRAY

Member tier description

Example: ["Diamond"]

discountOBJECT

Tier discount details (null if none)

createdAtDATETIME

Tier creation date time

Example: "2020-05-28T03:55:21Z"

updatedAtDATETIME

Tier last update date time

Example: "0001-01-01T00:00:00Z"

statusSTRING

Member status

Example: "ACTIVE"

createdDateTimeDATETIME

Creation date time

Example: "2018-09-19T10:00:21Z"

codeSTRING

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

Example: "SUCCESS"