Остановить RevShare-кампанию
Stops one of your active RevShare campaigns. Same as Stop on the Campaigns page.
Returns the campaign row with status = completed. CPL delivery campaigns are stopped through their order: /api/marketer/cpl/campaigns/stop.
Errors (status: "error", HTTP 200):
404Campaign not found: unknown id, not your campaign, or not a RevShare campaign.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.
status равен completed и заполнен finished_at.
campaign_id — публичный id вида revc_… из /api/marketer/revshare/campaigns. Неизвестные id, чужие кампании и числовые внутренние id отвечают 404 Campaign not found.
/api/marketer/cpl/campaigns/stop.Авторизации
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.
Тело
Campaign public id (revc_…). Numeric internal ids are rejected with 404.