Запись
Отклонить CPL-кампанию
Rejects a waiting campaign placed on your CPL offer. Same as Reject on the CPL Campaigns page. Returns the campaign row with status = rejected.
Errors (status: "error", HTTP 200):
404Order not found.422Platform message when the campaign can no longer be rejected.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
Reject a CPL campaign
То же, что Reject на странице CPL Campaigns.
order_id — публичный id вида cplo_…; comment необязателен и показывается клиенту как причина. У возвращённой строки status равен rejected.
Неизвестные id, чужие кампании и числовые внутренние id отвечают 404 Order not found.Авторизации
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