Helper/Data.php
public function setConnectorContactToReImport($customerId)
    {
        $contactModel = $this->contactFactory->create();
        $contactModel->loadByCustomerId($customerId)
            ->setEmailImported(
                \Dotdigitalgroup\Email\Model\Contact::EMAIL_CONTACT_NOT_IMPORTED
            );
        $this->contactResource->save($contactModel);
    }
public function setConnectorContactToReImport($customerId)
    {
        $contactModel = $this->contactFactory->create();
        $contactModel->loadByCustomerId($customerId)
            ->setEmailImported(
                \Dotdigitalgroup\Email\Model\Contact::EMAIL_CONTACT_NOT_IMPORTED
            );
        $this->contactResource->save($contactModel);
    }
public function setConnectorContactToReImport ( $ customerId ) { $ contactModel = $ this -> contactFactory -> create ( ) ; $ contactModel -> loadByCustomerId ( $ customerId ) -> setEmailImported ( \ Dotdigitalgroup \ Email \ Model \ Contact :: EMAIL_CONTACT_NOT_IMPORTED ) ; $ this -> contactResource -> save ( $ contactModel ) ; }
Mark contact for reimport.

@param int $customerId

@return null
Mark contact for reimport .