allegro / allegro/allegro-api

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

未關閉
#5,947 1 則留言 0 個 reaction 已指派 1 人 已被 @Lukasz-Zurek 認領 在 GitHub 檢視
News
主要語言
沒有語言資料
星號
244
分支
40
PR 合併指標
30 天內沒有已合併 PR

描述

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

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。