Model/Apiconnector/Client.php
public function deleteContactTransactionalData(
        $email,
        $collectionName = 'Orders'
    ) {
        if ($email && $collectionName) {
            $url = $this->getApiEndpoint() . '/v2/contacts/' . $email
                . '/transactional-data/' . $collectionName;
            $this->setUrl($url)
                ->setVerb('DELETE');

            return $this->execute();
        }
    }
public function deleteContactTransactionalData(
        $email,
        $collectionName = 'Orders'
    ) {
        if ($email && $collectionName) {
            $url = $this->getApiEndpoint() . '/v2/contacts/' . $email
                . '/transactional-data/' . $collectionName;
            $this->setUrl($url)
                ->setVerb('DELETE');

            return $this->execute();
        }
    }
public function deleteContactTransactionalData ( $ email , $ collectionName = 'Orders' ) { if ( $ email && $ collectionName ) { $ url = $ this -> getApiEndpoint ( ) . '/v2/contacts/' . $ email . '/transactional-data/' . $ collectionName ; $ this -> setUrl ( $ url ) -> setVerb ( 'DELETE' ) ; return $ this -> execute ( ) ; } }
Deletes all transactional data for a contact.

@param string $email
@param string $collectionName

@return null
@throws \Exception
Deletes all transactional data for a contact .