Skip to main content
POST
Update a RevShare campaign
Same as Edit on the Campaigns page. Fields you leave out keep their current value.

Tags

tags is an array of tag names from your tag list (Campaigns -> Tags) and replaces the whole list. Names are matched case-insensitively. An unknown name answers 422 Unknown tag: <name>; tags are not created through the API. Send [] to remove all tags.

Errors

Authorizations

Authorization
string
header
required

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.

Body

application/json
campaign_id
string
required

Campaign public id (revc_…).

name
string

Campaign name.

note
string

Private note.

tags
string[]

Tag names from your tag list. Replaces the current tags. Unknown name -> 422 Unknown tag: ….

Response

200 - application/json

Success (check status; errors are also HTTP 200)

status
enum<string>
Available options:
success
data
object