HomeSaaS Referral Program GuideAPIsChange Reward Status

Change Reward Status

This API call allows you to change the status of a reward from the server side directly

We have already laid out how there are 4 different statuses that a reward could be attested with, at any moment, depending on the rules of the campaign and the conversion event encountered.

Often, you would find it more comfortable to handle the change in these status directly from your side, instead of waiting for AppVirality to update them. This API call comes in handy for that.

Example: You would like to override and change status of a reward (which is linked to the Conversion event) immediately after you have confirmation that the product has been delivered successfully & no returns would be filed for the same.
This would allow you to update the user rewards as soon as the user states that he would not be returning the order

 Base URL

 POST         /saas/v1_0/changerewardstatus

Content-Type application/json

Input i.e. Request

                "message":"Status changed from Rejected to Approved"
Input Params
Input Params Description
apikey API Key of the Product
Get it from Dashboard >> App Details
privatekey Private key for API requests
Get it from: Dashboard >> App Details >> Click App Settings >> Advanced 
rewardslist Rewards List
~ rewarddtlid Reward Detail ID
~ rewardstatus Reward status can be: ApprovedRejectedSuspiciousUnder Review
~ message  Any custom message


Response Params
Output Params Description
success returns true on successful update
message Information regarding API call (if relevant)
Was this article helpful to you? Yes No