/** * Update an individual contact * @param string $accessToken - Valid access token * @param Contact $contact - Contact to update * @param boolean $actionByVisitor - is the action being taken by the visitor, default is false * @return Contact */ public function updateContact($accessToken, Contact $contact, $actionByVisitor = false) { $params = array(); if ($actionByVisitor == true) { $params['action_by'] = "ACTION_BY_VISITOR"; } return $this->contactService->updateContact($accessToken, $contact, $params); }
/** * Update an individual contact * @param string $accessToken - Valid access token * @param Contact $contact - Contact to update * @param boolean $actionByVisitor - is the action being taken by the visitor, default is false * @return Contact */ public function updateContact($accessToken, Contact $contact, $actionByVisitor = false) { return $this->contactService->updateContact($accessToken, $contact, $actionByVisitor); }