Méthode | Description | |
---|---|---|
all ( array $params = [] ) : |
For a given portal, return all contacts that have been created in the portal. | |
create ( array $properties ) : |
||
createOrUpdate ( string $email, array $properties = [] ) : |
||
createOrUpdateBatch ( array $contacts ) : |
||
delete ( integer $id ) : |
||
getBatchByEmails ( array $emails, array $params = [] ) : |
For a given portal, return information about a group of contacts by their email addresses. | |
getBatchByIds ( array $vids, array $params = [] ) : |
For a given portal, return information about a group of contacts by their unique ID's. A contact's unique ID's is stored in a field called 'vid' which stands for 'visitor ID'. | |
getBatchByTokens ( array $utks, array $params = [] ) : |
For a given portal, return information about a group of contacts by their user tokens (hubspotutk). | |
getByEmail ( string $email ) : |
||
getById ( integer $id ) : |
||
getByToken ( string $utk ) : |
||
recent ( array $params = [] ) : |
For a given portal, return all contacts that have been recently updated or created. | |
search ( string $query, array $params = [] ) : |
For a given portal, return contacts and some data associated with those contacts by the contact's email address or name. | |
statistics ( ) : |
||
update ( integer $id, array $properties ) : |
public createOrUpdate ( string $email, array $properties = [] ) : |
||
string | The contact's email address. | |
$properties | array | The contact properties. |
Résultat |
public createOrUpdateBatch ( array $contacts ) : |
||
$contacts | array | The contacts and properties. |
Résultat |
public getBatchByEmails ( array $emails, array $params = [] ) : |
||
$emails | array | Array of email adresses |
$params | array | Array of optional parameters ['property', 'propertyMode', 'formSubmissionMode', 'showListMemberships', 'includeDeletes'] |
Résultat |
public getBatchByIds ( array $vids, array $params = [] ) : |
||
$vids | array | Array of visitor IDs |
$params | array | Array of optional parameters ['property', 'propertyMode', 'formSubmissionMode', 'showListMemberships', 'includeDeletes'] |
Résultat |
public getBatchByTokens ( array $utks, array $params = [] ) : |
||
$utks | array | Array of hubspot user tokens (hubspotutk) |
$params | array | Array of optional parameters ['property', 'propertyMode', 'formSubmissionMode', 'showListMemberships', 'includeDeletes'] |
Résultat |
public getByEmail ( string $email ) : |
||
string | ||
Résultat |
public getByToken ( string $utk ) : |
||
$utk | string | |
Résultat |
public statistics ( ) : |
||
Résultat |