function MCAPI::listInterestGroupingUpdate in Mailchimp 6.2
Update an existing Interest Grouping
Related
@example xml-rpc_listInterestGroupingUpdate.php
Parameters
int $grouping_id the interest grouping id - get from listInterestGroupings():
string $name The name of the field to update - either "name" or "type". Groups with in the grouping should be manipulated using the standard listInterestGroup* methods: param string $value The new value of the field. Grouping names must be unique - only "hidden" and "checkboxes" grouping types can be converted between each other.
Return value
bool true if the request succeeds, otherwise an error will be thrown
File
- ./
MCAPI.class.php, line 1239
Class
Code
function listInterestGroupingUpdate($grouping_id, $name, $value) {
$params = array();
$params["grouping_id"] = $grouping_id;
$params["name"] = $name;
$params["value"] = $value;
return $this
->callServer("listInterestGroupingUpdate", $params);
}