get https://api.feefo.com/api/20/products/ratings?merchant_identifier=
Introduction
The Product Ratings API returns a list of all of the merchant's products with their average ratings calculated over a defined period, the default being the last five years' worth of data.
Note
See parameters for explanations
Example 1
<https://api.feefo.com/api/version/products/ratings?merchant_identifier=example-retail-merchant>
This example returns data similar to the following format:
{
"products": [
{"rating": 3.5, "vendor_ref": "SKU187098864792156"},
{"rating": 4.2, "vendor_ref": "SKU1870981878808479"},
{"rating": 4.5, "vendor_ref": "ERPKIPEAPTG6M9H9Y1WZ"}
]
}
Example 2
<https://api.feefo.com/api/version/products/ratings?merchant_identifier=example-retail-merchant&since_period=month&review_count=true>
This returns data similar to:
{
"products": [
{"rating": 3.0, "sku": "SKU187098864792156", "review_count": 1},
{"rating": 4.1, "sku": "SKU1870981878808479", "review_count": 5},
{"rating": 4.8, "sku": "ERPKIPEAPTG6M9H9Y1WZ", "review_count": 7}
]
}