Skip to main content
PATCH
Update User Endpoint

Authorizations

X-API-Key
string
header
required

Path Parameters

user_id
integer
required

Body

application/json
username
string | null
first_name
string | null
last_name
string | null
language
string | null
status
string | null
promo_group_id
integer | null
referral_code
string | null
has_had_paid_subscription
boolean | null
has_made_first_topup
boolean | null

Response

Successful Response

id
integer
required
status
string
required
language
string
required
balance_kopeks
integer
required
balance_rubles
number
required
has_had_paid_subscription
boolean
required
has_made_first_topup
boolean
required
created_at
string<date-time>
required
updated_at
string<date-time>
required
telegram_id
integer | null
username
string | null
first_name
string | null
last_name
string | null
referral_code
string | null
referred_by_id
integer | null
last_activity
string<date-time> | null
promo_group
PromoGroupSummary · object | null
subscription
SubscriptionSummary · object | null