allegro / allegro/allegro-api

[NEWS] GET /sale/user-ratings - dodaliśmy nowe pola | GET /sale/user-ratings - we have added new fields

Aperta
#5,947 1 commento 0 reazioni 1 assegnatario Rivendicata da @Lukasz-Zurek Vedi su GitHub
News
Lingua principale
Nessun dato sulla lingua
Stelle
244
Fork
40
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

W odpowiedzi do [GET /sale/user-ratings](https://developer.allegro.pl/documentation/#operation/getUserRatingsUsingGET), dzięki któremu pobierzesz informacje o ocenach sprzedaży, dodaliśmy dziś nowe pola:

- **editedAt** - data ostatniej edycji oceny,
- **lastChangedAt** - data utworzenia oceny lub data ostatniej edycji (jeśli ocena była edytowana).

**Co planujemy jeszcze zmienić?**

Pod koniec trzeciego kwartału dla [GET /sale/user-ratings](https://developer.allegro.pl/documentation/#operation/getUserRatingsUsingGET):

- dodamy nowy opcjonalny parametr do filtrowania według **lastChangedAt**,
- w zwracanych polach **createdAt**, **removal.possibleTo**, **answer.createdAt** i **removal.request.createdAt** zmienimy format daty na UTC, np. "2022-07-08T09:45:43.818Z",
- zmienimy domyślne sortowanie z **createdAt** na **lastChangedAt** - dzięki temu domyślnie jako pierwsze zwrócimy ostatnio dodane lub zmienione oceny.

Więcej informacji na temat oceny sprzedaży znajdziesz w [poradniku](https://developer.allegro.pl/tutorials/jak-zarzadzac-kontem-danymi-uzytkownika-ZM9YAKgPgi2#jak-pobrac-informacje-o-ocenie-sprzedazy).

------

In response to [GET /sale/user-ratings](https://developer.allegro.pl/documentation/#operation/getUserRatingsUsingGET), thanks to which you can retrieve information about sales ratings, today we have added new fields:

- **editedAt** - date of the last rating edit,
- **lastChangedAt** - date of creation of the rating or the last edit date (if the rating was edited).

**What are we still planning to change?**

At the end of the third quarter for [GET /sale/user-ratings](https://developer.allegro.pl/documentation/#operation/getUserRatingsUsingGET):

- we will add a new optional parameter to filter by **lastChangedAt**,
- in the returned **createdAt**, **removal.possibleTo**, **answer.createdAt** and **removal.request.createdAt** fields, we will change the date format to UTC, e.g. "2022-07-08T09:45:43.818Z",
- we will change the default sorting from **createdAt** to **lastChangedAt** - thanks to this, we will return the most recently added or changed ratings first, by default.

You will find more information about user ratings in [our guide](https://developer.allegro.pl/tutorials/jak-zarzadzac-kontem-danymi-uzytkownika-ZM9YAKgPgi2#jak-pobrac-informacje-o-ocenie-sprzedazy).

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.