Update referral code
PUT
/affiliateYou can use this endpoint to update your affiliate referral code. You old referral links will continue to work properly.
Request
Body Params application/json
referral_code
stringÂ
required
>= 5 characters<= 20 characters
Example
{
"referral_code": "myawesomewebsite"
}
Request samples
Responses
Updated referral code(200)
Updated referral code
HTTP Code:Â 200
Content Type :Â JSONapplication/json
Data Schema
No schema defined
Example
{
"referral_code": "myawesomewebsite2",
"referral_url": "https://www.vpsbg.eu/aff/myawesomewebsite2",
"referrals_turnover": 30,
"commission": 5,
"estimated_earnings": 1.5,
"all_time_earnings": 1.5,
"next_payout_in_days": 15
}
Last modified: 3 months ago