22 czerwca 2017
Nowe zasoby, którymi pobierzesz informacje o ocenach
We have published two endpoints that allow you - as a logged in user - to download:
- Received feedbacks - use the endpoint to download received feedbacks, you can specify the parameters you read below
- Sales evaluation details - use the endpoint to download details of rating
In endpoint to dowload feedbacks you can specify parameters:
- recommend - which is true or false (positive or negative feedback)
- page - which value can be between 0 and 1000 - responsible for the feedback page number. On each page we display 20 feedbacks.
Sample call concerning received feedbacks:
curl -X GET \
https://api.allegro.pl/ratings-api/sellers/ratings?recommend=false \
-H 'accept: application/vnd.allegro.public.v2+json' \
-H 'accept-language: PL' \
-H 'authorization: Bearer [token]'
In response you will receive 20 newest negative feedbacks(page = 0, recommend=false).