public function updateSilverpopCustomer() { $silverpop = new EngagePod(); // grab recipient id $result = $silverpop->getProspect(0, $this->prospect_id); // update the field is_customer $result = $silverpop->updateContactToCustomer(0, $result['RecipientId']); }