Skip to main content
PUT
Update affiliate campaign

Authorizations

X-API-Key
string
header
required

Preferred authentication method. Pass the API key in the X-API-Key HTTP request header. The user account must have api_status enabled.

Path Parameters

id
integer
required

Campaign ID.

Body

application/json
name
string

Campaign name. Maximum 100 characters.

commission_plan_id
integer

Commission plan ID bound to the offer.

traffic_source_id
integer

Traffic source ID.

traffic_approach_id
integer

Traffic approach ID.

landing_page_id
integer

Landing page ID bound to the offer.

creative_id
integer | null

Optional creative ID, or null to remove.

status
enum<string>

Campaign status.

Available options:
active,
paused

Response

Campaign updated.

status
enum<string>
Available options:
success
code
enum<integer>
Available options:
200
name
enum<string>
Available options:
OK
message
string
Example:

"Campaign updated"

info
object