Skip to main content
Version: v3

Move Affiliate To Campaign

POST 

/affiliate-manager/affiliate-campaign/:locationId/affiliate/:affiliateId/move-campaign

Move an affiliate from one campaign to another. The target campaign must be live and belong to the same location, and the affiliate must not already be enrolled in it.

Request

Version stringrequired

API Version

Available optionsv3
locationId stringrequired

Location Id

affiliateId stringrequired

Affiliate Id

application/json

Bodyrequired

    sourceCampaignIdstringrequired

    Source Campaign Id

    targetCampaignIdstringrequired

    Target Campaign Id

    moveModenumberrequired

    Move mode — 1 keeps recurrent commissions in the old campaign, 2 moves all data with the original AM id

    Available options12
    sendWelcomeEmailboolean

    Whether to send a welcome email to this affiliate after moving. If the target campaign has welcome emails disabled, no email will be sent even if this is turned on. If the campaign has it enabled, you can disable it here to skip sending for this affiliate.

    Default value: true
application/json

Successful response

Schema
    successbooleanrequired

    Whether the action completed

    messagestringrequired

    Human readable outcome