v1

latestOpenAPI 3.1.02026-07-26400501584.0 KB
Cabinet Admin Campaigns

Update Existing Campaign

Update an existing campaign.

put/cabinet/admin/campaigns/{campaign_id}

Path parameters

campaign_idinteger required

Request body

namestring nullable
start_parameterstring nullable
bonus_type'balance' | 'subscription' | 'none' | 'tariff' nullable
is_activeboolean nullable
balance_bonus_kopeksinteger nullable
subscription_duration_daysinteger nullable
subscription_traffic_gbinteger nullable
subscription_device_limitinteger nullable
subscription_squadsstring[] nullable
tariff_idinteger nullable
tariff_duration_daysinteger nullable
partner_user_idinteger nullable

Response

Successful Response

idinteger required
namestring required
start_parameterstring required
bonus_type'balance' | 'subscription' | 'none' | 'tariff' required
is_activeboolean required
balance_bonus_kopeksinteger
balance_bonus_rublesnumber
subscription_duration_daysinteger nullable
subscription_traffic_gbinteger nullable
subscription_device_limitinteger nullable
subscription_squadsstring[]
tariff_idinteger nullable
tariff_duration_daysinteger nullable
partner_user_idinteger nullable
partner_namestring nullable
created_byinteger nullable
created_atstring date-time required
updated_atstring date-time nullable
deep_linkstring nullable
web_linkstring nullable