You are here

function MCAPI::listMergeVarUpdate in Mailchimp 6.2

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

Update most parameters for a merge tag on a given list. You cannot currently change the merge type

Related

Parameters

string $id the list id to connect to. Get by calling lists():

string $tag The merge tag to update:

array $options The options to change for a merge var. See listMergeVarAdd() for valid options:

Return value

bool true if the request succeeds, otherwise an error will be thrown

File

./MCAPI.class.php, line 1081

Class

MCAPI

Code

function listMergeVarUpdate($id, $tag, $options) {
  $params = array();
  $params["id"] = $id;
  $params["tag"] = $tag;
  $params["options"] = $options;
  return $this
    ->callServer("listMergeVarUpdate", $params);
}