Запись
Остановить CPL-кампанию
Stops the delivery behind an accepted CPL campaign (yours on a client offer, or a client’s on your offer). Same as Stop on the CPL Campaigns page. Returns the campaign row.
Errors (status: "error", HTTP 200):
404Order not found(unknown id or not your campaign) orCampaign not found(the campaign has no running delivery).403Access denied: missing / unknown key, or the account is not an active partner.429Rate limit exceeded (30 writes per minute per key, see theRetry-Afterheader).503Service is temporarily unavailable: the platform did not answer in time. The action may still have been applied, check the matching read endpoint before repeating it.
POST
Stop a CPL campaign
То же, что Stop на странице CPL Campaigns: останавливает доставку по принятой кампании. Работает и для кампаний, размещённых на вашем оффере, и для ваших собственных кампаний на офферах клиентов (запущенных из Find Offers).
Ошибки
Авторизации
API key from the partner cabinet, Tools -> API (https://partners.onlytraffic.com/tools/api): up to 5 named keys per account, each Full or Read-only, ot_partners_ prefix, shown once at creation. Raw value or Bearer form. Read-only keys cannot call the POST endpoints (403 This API key is read-only); expired or revoked keys get 403 Error! Access denied.
Тело
application/json
CPL campaign public id (cplo_…).