Skip to main content
POST
Update a published CPL offer.
Изменяет настройки вашего оффера. Любое изменение поля с данными отправляет оффер обратно на модерацию; он снова станет активным после одобрения нашей командой. Пауза и снятие с паузы делаются через is_paused=true|false. Переключение одной лишь паузы не отправляет оффер на модерацию.

Авторизации

X-API-Key
string
header
обязательно

Your API key from the Studio Dashboard

Параметры пути

id
integer
обязательно

Numeric resource id.

Требуемый диапазон: x >= 1

Тело

application/json

All fields optional; pass only what you want to change. is_paused toggles pause/unpause. Any data field change resets status to moderation.

is_paused
boolean

Pause or resume the offer. Set true to pause; set false to resume (the offer re-enters moderation until approved). Toggling pause alone does not trigger a moderation reset on the rest of the offer's data.

per_subscription
number<float> | null
Требуемый диапазон: 0.3 <= x <= 5
per_messages
number<float> | null
Требуемый диапазон: 1 <= x <= 15
per_first_purchase
number<float> | null
Требуемый диапазон: 5 <= x <= 60
per_paid_subscription
number<float> | null
Требуемый диапазон: 3 <= x <= 99
free_trial_enabled
boolean
free_trial_days
integer | null

Required when free_trial_enabled=true. Number of free trial days.

Требуемый диапазон: x >= 1
trial_order_enabled
boolean
trial_spend
number | null

Spend ($) at which a trial order pauses for client review. Set this (or legacy trial_fan_count) when trial_order_enabled=true.

Требуемый диапазон: x >= 100
trial_fan_count
integer | null

Deprecated legacy fan-count threshold. Prefer trial_spend.

Требуемый диапазон: x >= 1
max_per_day
integer
Требуемый диапазон: x >= 1
total_budget
number<float>
Требуемый диапазон: x >= 1000
content_channels
enum<string>[]
Minimum array length: 1
Доступные опции:
lifestyle,
tiktok,
lingerie,
light_nudes,
nudes
blocked_sources
enum<string>[]
Доступные опции:
instagram,
tiktok,
twitter,
reddit,
google,
telegram,
tinder,
facebook,
youtube,
onlyfans
description
string | null
Maximum string length: 5000

Ответ

Updated. Any change to a data field sends the offer back to moderation; it goes live again after our team approves it. Pausing or unpausing alone (via is_paused) does not trigger this.

success
boolean
data
object