Brand Feed - PureClarity/php-sdk GitHub Wiki
Brand Feed
Class
\PureClarity\Api\Feed\Type\Brand
Usage
$feedData = <data pulled from your system>
$feed = new \PureClarity\Api\Feed\Type\Brand($accessKey, $secretKey, $region);
$feed->start();
foreach ($feedData as $row) {
$feed->append($row);
}
$feed->end();
See Data feed overview for more details
Format
The following array keys must be present when passed to the append function:
Key | Description | Empty allowed |
---|---|---|
Id | Category ID | No |
DisplayName | Brand Name/Title | No |
Image | URL of the Brand image | Yes |
Description | description of the Brand | Yes |
Link | URL of the Brand | Yes |
For specific formatting of the above fields, see the brand feed documentation