Give Loyalty Point
Method : POST
URL : https://open.revenuemonster.my/v3/loyalty/reward
Sandbox URL : https://sb-open.revenuemonster.my/v3/loyalty/reward
note
To give loyalty point(s) to customers using phone number or member ID.
#
Request ParametersParameter | Type | Required | Description | Example |
---|---|---|---|---|
point | Integer | Yes | Loyalty point given to customers. | 100 |
type | String | Yes | "ID", "PHONENUMBER" or "QRCODE" | Use phone number , ID or QR Code to give loyalty point(s). |
memberId | String | No | Member ID if type "ID" being provided. | "2777058682717858418" |
countryCode | String | No | Country code if type "PHONENUMBER" being provided. | "60" |
phoneNumber | String | No | Phone number if type "PHONENUMBER" being provided. | "172826990" |
Example Request Phone Number
Example Request QR Code
Example Request Member ID
#
Response ParametersParameter | Type | Description | Example |
---|---|---|---|
code | String | Successfully call this endpoint. If fail, will return error code object (Refer Appendix 1: Error Codes) | "SUCCESS" |
Example Response (PhoneNumber & Member ID)
Example Response (QR Code)
#
Set Your URL in WebhookIn Merchant Portal > Developer > Application > Products
For Loyalty and Social Media features, you will need to input a webhook URL as below :