HomeAppVirality DocsAppVirality APIsCustomize Referral Code

Customize Referral Code

Use this API to customize referral code to a particular User.

 

Base URL  https://api.appvirality.com

 POST         /v2_0/customizereferralcode

Content-Type application/json


Input i.e. Request

{
"apikey": "7ffdda00fd5c4338a9c1a44e00663648",
"privatekey": "d1e881dc60fa4856be34a44f00d96c9a",
"userkey": "588d87d8d9e89ac5d710caf68910ac5d",
"EmailId": "",
"UserIdInstore": "",
"customreferralcode": "saas123"
}
Input Params
Input Params Description
apikey API Key of the App
Get it from Dashboard >> App Details
privatekey Private key for API requests
Get it from: Dashboard >> App Details >> Click App Settings >> Scroll down to Advanced Settings
userkey
(conditional)
User Key for the App user – a unique identifier for every App User recorded
EmailId
(conditional)
Email of the User, updated to AppVirality
UserIdInstore
(conditional)
Store Id of the App user, updated to AppVirality – a unique identifier of the user in your App
customreferralcode Referral code you want to update to an user
conditional – One of the conditional parameters is mandatory to identify the user. Priority for user identification is userkey, UserIdInstore and EmailId

 


Response

{
"success":true,
"message":"Success"
}
Response Params
Output Params Description
success returns true on successful modification of referral code
message Information regarding API call (if relevant)
Was this article helpful to you? Yes No