Skip to content

Product Feed

Gareth James edited this page Apr 30, 2021 · 1 revision

Product Feed

Class

\PureClarity\Api\Feed\Type\Product

Usage

$feedData = <data pulled from your system>

$feed = new \PureClarity\Api\Feed\Type\Product($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
Id Product ID
Title Product Name/Title
Categories Array of category ids the product is in (can be empty, but key must be present)
Link URL of the product
Image URL of the product image (can be empty, but key must be present)
Prices array pf price data

For specific formatting of the above fields, and further field you can add, see the product feed documentation

Usage

Accounts

  • Signup
  • Validation
  • Delete

Data feeds

Deltas

Information

  • Feedback
  • Dashboard information
  • Next Steps

Utility

  • Supported Region List
  • Supported Timezone list
  • Endpoint URL list

Clone this wiki locally