-
Notifications
You must be signed in to change notification settings - Fork 0
User Feed
Gareth James edited this page Apr 30, 2021
·
1 revision
Sens customer (users) data to PureClarity.
\PureClarity\Api\Feed\Type\User
$feedData = <data pulled from your system>
$feed = new \PureClarity\Api\Feed\Type\User($accessKey, $secretKey, $region);
$feed->start();
foreach ($feedData as $row) {
$feed->append($row);
}
$feed->end();
See Data feed overview for more details
The following array keys must be present when passed to the append function:
| Key | Description | Empty allowed |
|---|---|---|
| UserId | User ID | No |
For specific formatting of the above fields, and further fields you can add, see the user feed documentation