curl --location --request POST 'https://aff-api.uppromote.com/api/v2/affiliate/set-upline' \
--header 'Accept: application/json' \
--header 'Authorization: ****************************' \
--header 'Content-Type: application/json' \
--data-raw '{
"affiliate_email": "string",
"upline_affiliate_email": "string"
}'
{
"status": 200,
"message": "Success",
"data": {
"affiliate_id": 2029462,
"upline_affiliate_email": "test232@gmail.com"
}
}