Skip to main content
Version: v4New

Move Affiliate To Campaign

POST 

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

Move an affiliate from its current campaign to another campaign in the same location.

Request​

Version stringrequired

API Version

Available optionsv4
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
    locationIdstringrequired

    Location Id

application/json

Successful response

Schema
    successbooleanrequired

    Whether the action completed

    messagestringrequired

    Human readable outcome