You are here

function CampaignMonitor::clientUpdateBasics in Campaign Monitor 5.2

Same name and namespace in other branches
  1. 6.3 lib/CMBase.php \CampaignMonitor::clientUpdateBasics()
  2. 6.2 lib/CMBase.php \CampaignMonitor::clientUpdateBasics()

*

Parameters

int $client_id (ClientID) ID of the client to be updated: * @param string $companyName (CompanyName) Company name of the client to be updated * @param string $contactName (ContactName) Contact name of the client to be updated * @param string $emailAddress (EmailAddress) Email Address of the client to be updated * @param string $country (Country) Country of the client to be updated * @param string $timezone (Timezone) Timezone of the client to be updated * @return mixed A parsed response from the server, or null if something failed. * @see http://www.campaignmonitor.com/api/method/client-create/

File

lib/CMBase.php, line 1094

Class

CampaignMonitor

Code

function clientUpdateBasics($client_id, $companyName, $contactName, $emailAddress, $country, $timezone) {
  return $this
    ->makeCall('Client.UpdateBasics', array(
    'params' => array(
      'ClientID' => $client_id,
      'CompanyName' => $companyName,
      'ContactName' => $contactName,
      'EmailAddress' => $emailAddress,
      'Country' => $country,
      'Timezone' => $timezone,
    ),
  ));
}