You are here

function MCAPI::campaignReplicate in Mailchimp 7

Same name and namespace in other branches
  1. 6.2 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 365

Class

MCAPI

Code

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