allegro / allegro/allegro-api

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

Aberta
#5,947 1 comentário 0 reações 1 responsável Reivindicada por @Lukasz-Zurek Ver no GitHub
News
Linguagem predominante
Sem dados de linguagem
Estrelas
244
Forks
40
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

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).

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.