public function UpdateProfile($firstName, $lastName, $address1, $city, $state, $zip, $countryID, $marketingConsent = null, $address2 = null, $company = null, $website = null, $logoUrl = null, $taxCode = null, $phone = null) {
        return $this->sendRequest('account/updateprofile', array(
                    'firstName' => $firstName,
                    'lastName' => $lastName,
                    'address1' => $address1,
                    'city' => $city,
                    'state' => $state,
                    'zip' => $zip,
                    'countryID' => $countryID,
                    'marketingConsent' => $marketingConsent,
                    'address2' => $address2,
                    'company' => $company,
                    'website' => $website,
                    'logoUrl' => $logoUrl,
                    'taxCode' => $taxCode,
                    'phone' => $phone
        ));
    }
public function UpdateProfile($firstName, $lastName, $address1, $city, $state, $zip, $countryID, $marketingConsent = null, $address2 = null, $company = null, $website = null, $logoUrl = null, $taxCode = null, $phone = null) {
        return $this->sendRequest('account/updateprofile', array(
                    'firstName' => $firstName,
                    'lastName' => $lastName,
                    'address1' => $address1,
                    'city' => $city,
                    'state' => $state,
                    'zip' => $zip,
                    'countryID' => $countryID,
                    'marketingConsent' => $marketingConsent,
                    'address2' => $address2,
                    'company' => $company,
                    'website' => $website,
                    'logoUrl' => $logoUrl,
                    'taxCode' => $taxCode,
                    'phone' => $phone
        ));
    }
public function UpdateProfile ( $ firstName , $ lastName , $ address1 , $ city , $ state , $ zip , $ countryID , $ marketingConsent = null , $ address2 = null , $ company = null , $ website = null , $ logoUrl = null , $ taxCode = null , $ phone = null ) { return $ this -> sendRequest ( 'account/updateprofile' , array ( 'firstName' => $ firstName , 'lastName' => $ lastName , 'address1' => $ address1 , 'city' => $ city , 'state' => $ state , 'zip' => $ zip , 'countryID' => $ countryID , 'marketingConsent' => $ marketingConsent , 'address2' => $ address2 , 'company' => $ company , 'website' => $ website , 'logoUrl' => $ logoUrl , 'taxCode' => $ taxCode , 'phone' => $ phone ) ) ; }
Update your profile.
@param string $apikey ApiKey that gives you access to our SMTP and HTTP API's.
@param string $firstName First name.
@param string $lastName Last name.
@param string $address1 First line of address.
@param string $city City.
@param string $state State or province.
@param string $zip Zip/postal code.
@param int $countryID Numeric ID of country. A file with the list of countries is available <a href="http://api.elasticemail.com/public/countries"><b>here</b></a>
@param ?bool $marketingConsent True if you want to receive newsletters from Elastic Email. Otherwise, false. Empty to leave the current value.
@param string $address2 Second line of address.
@param string $company Company name.
@param string $website HTTP address of your website.
@param string $logoUrl URL to your logo image.
@param string $taxCode Code used for tax purposes.
@param string $phone Phone number
Update your profile .