Skip to main content

Get Rewards

GET/v3/loyalty/me/rewards?countryCode=60&phoneNumber=187824152
  • Using Query String to Get User Reward by input the country code and phone number
  • Using Query String to set a limit: ~/?limit=< limit >
  • To implement a pagination cursor, you may use query string: ~/?cursor= < cursor >
  • Example : https://open.revenuemonster.my/v3/loyalty/me/reward?countryCode=60&phoneNumber=187824152&limit=100&cursor=asdas

Request Parameters

Response Parameters

itemsArray

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

metaObject

Inside meta have count key example "count": 2

Example: 2


Rewards object (item):
idString

Reward Id

Example: "1575971661443933008"

labelString

Reward Label

Example: "Prudential RM 5 Cash Vouchers ( BoostPulse )"

imageUrlString

Reward Image

Example: ""

pointUint

Reward Point

Example: 1

payloadObject

Refer to explanation below

Example: (Refer to explanation below)

isShippingBool

Reward shipping

Example: false

quantityUint

Reward Quantity

Example: 49998

balanceQuantityUint

Reward Balance Quantity

Example: 49991

usedQuantityUint

Reward Used Quantity

Example: 2

redeemQuantityString

Reward Redeem Quantity

Example: 7

isEnabledBool

Enable Reward

Example: true

limitPerUserUint

Set Limit per User use

Example: 1

statusString

Reward status have ("COMPLETED", "INPROGRESS", "FAILED", "EXPIRED")

Example: "COMPLETED"

isComboBool

Reward is Combo

Example: false

typeString

Reward type have Combo or Batch

Example: ""

createdAtDateTime

Create date time

Example: "2020-11-18T06:43:19Z"

updatedAtDateTime

Last update date time

Example: "2020-11-25T05:58:56Z"

expiredAtDateTime

Expired date time

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


Payload object:
tncArray

Example: ["T&C"]

contactInfoObject

Refer to explanation below

Example: (Refer to explanation below)


Contact Info object:
emailString

Email

Example: ""

phoneNumberString

Phone Number

Example: ""