You are here

function MCAPI::campaignReplicate in Mailchimp 6.2

Same name and namespace in other branches
  1. 7 MCAPI.class.php \MCAPI::campaignReplicate()

Replicate a campaign.

Related

@example mcapi_campaignReplicate.php

Parameters

string $cid the Campaign Id to replicate:

Return value

string the id of the replicated Campaign created, otherwise an error will be thrown

File

./MCAPI.class.php, line 384

Class

MCAPI

Code

function campaignReplicate($cid) {
  $params = array();
  $params["cid"] = $cid;
  return $this
    ->callServer("campaignReplicate", $params);
}