campaigns

Обновить рекламную кампанию

Changed on

Обновление рекламной кампании.

patch/campaigns/{campaign_id}

Request

Path parameters

campaign_idinteger required

Request body

namestring nullable
start_parameterstring nullable
bonus_type'balance' | 'subscription' | 'none' | 'tariff' nullable

Тип бонуса кампании: balance (баланс), subscription (пробная подписка), none (без награды), tariff (тариф)

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
is_activeboolean nullable

Response

Successful Response

idinteger required
namestring required
start_parameterstring required
bonus_type'balance' | 'subscription' | 'none' | 'tariff' required

Тип бонуса кампании: balance (баланс), subscription (пробная подписка), none (без награды), tariff (тариф)

balance_bonus_kopeksinteger required
balance_bonus_rublesnumber required
subscription_duration_daysinteger nullable
subscription_traffic_gbinteger nullable
subscription_device_limitinteger nullable
subscription_squadsstring[]
tariff_idinteger nullable
tariff_duration_daysinteger nullable
tariff_namestring nullable
is_activeboolean required
created_byinteger nullable
created_atstring date-time required
updated_atstring date-time required
registrations_countinteger

Changes