function MCAPI::listMergeVars in Mailchimp 7
Same name and namespace in other branches
- 5.2 MCAPI.class.php \MCAPI::listMergeVars()
- 5 MCAPI.class.php \MCAPI::listMergeVars()
- 6.2 MCAPI.class.php \MCAPI::listMergeVars()
- 6 MCAPI.class.php \MCAPI::listMergeVars()
Get the list of merge tags for a given list, including their name, tag, and required setting
Related
@example xml-rpc_listMergeVars.php
@returnf string name Name of the merge field @returnf char req Denotes whether the field is required (Y) or not (N) @returnf string tag The merge tag that's used for forms and listSubscribe() and listUpdateMember()
Parameters
string $id the list id to connect to. Get by calling lists():
Return value
array list of merge tags for the list
File
- ./
MCAPI.class.php, line 937
Class
Code
function listMergeVars($id) {
$params = array();
$params["id"] = $id;
return $this
->callServer("listMergeVars", $params);
}