Using this endpoint, you can get list of all project reviews in the same format as the List of project reviews endpoint returns them. This endpoint is available only when the 'Rating' module is active. Also, the project must have store ratings enabled in the administration settings.
Response will be in jsonlines format with each project review taking one line of output file.
One project review in response has the same format as one item of the List of project reviews response. See Project review snapshot schema for more details.
Result file is compressed using GZIP.
Security
shoptetAccessToken or shoptetPrivateApiToken
- Mock serverhttps://api.docs.shoptet.com/_mock/shoptet-api/openapi/api/reviews/project/snapshot
- https://api.myshoptet.comhttps://api.myshoptet.com/api/reviews/project/snapshot
curl -i -X GET \
'https://api.docs.shoptet.com/_mock/shoptet-api/openapi/api/reviews/project/snapshot?dateFrom=2019-09-05T00%3A00%3A00%252B0100&dateTo=2019-09-05T00%3A00%3A00%252B0100&visible=true&orderCode=2011000002' \
-H 'Content-Type: application/json' \
-H 'Shoptet-Access-Token: YOUR_API_KEY_HERE'Response
{ "data": { "jobId": "ad24xod" }, "errors": [ { … } ], "metadata": { "requestId": "019c8c34-64f3-7328-af43-bf1e34fa39d7" } }