curl --request PATCH \
--url http://localhost:8080/partners/referrers/{user_id}/commission \
--header 'Content-Type: application/json' \
--data '
{
"referral_commission_percent": 50
}
'{
"id": 123,
"effective_referral_commission_percent": 123,
"invited_count": 123,
"active_referrals": 123,
"total_earned_kopeks": 123,
"total_earned_rubles": 123,
"month_earned_kopeks": 123,
"month_earned_rubles": 123,
"created_at": "2023-11-07T05:31:56Z",
"telegram_id": 123,
"username": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"referral_code": "<string>",
"referral_commission_percent": 123,
"last_activity": "2023-11-07T05:31:56Z"
}curl --request PATCH \
--url http://localhost:8080/partners/referrers/{user_id}/commission \
--header 'Content-Type: application/json' \
--data '
{
"referral_commission_percent": 50
}
'{
"id": 123,
"effective_referral_commission_percent": 123,
"invited_count": 123,
"active_referrals": 123,
"total_earned_kopeks": 123,
"total_earned_rubles": 123,
"month_earned_kopeks": 123,
"month_earned_rubles": 123,
"created_at": "2023-11-07T05:31:56Z",
"telegram_id": 123,
"username": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"referral_code": "<string>",
"referral_commission_percent": 123,
"last_activity": "2023-11-07T05:31:56Z"
}Индивидуальный процент реферальной комиссии для пользователя
0 <= x <= 100Successful Response