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: ""

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

Example: ""

birthDateSTRING

Member Birth Date

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

loyaltyPointINTEGER

Loyalty Point

Example: 0

countryCodeSTRING

Country code of member contact number

Example: "60"

phoneNumberSTRING

Phone number of member

Example: "167367171"

profileImageUrlSTRING

Member profile image URL

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

memberTierSTRING

Member tier

Example: null

statusSTRING

Member status

Example: "ACTIVE"

createdAtDATETIME

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"