allegro / allegro/allegro-api

[NEWS] Zasoby /sale/user-ratings - dodaliśmy nowy parametr i zmieniliśmy domyślne sortowanie oraz format daty / We added a new parameter and changed the default sort and date format in the /sale/user-ratings resources

オープン
#6,150 コメント 0 件 リアクション 0 件 担当者 1 名 @Lukasz-Zurek が担当を希望しています GitHub で見る
News
主要言語
言語のデータがありません
スター
244
フォーク
40
PR マージ指標
30日以内にマージされた PR はありません

説明

Zgodnie z [wcześniejszą zapowiedzią](https://developer.allegro.pl/news/get-sale-user-ratings-dodalismy-nowe-pola-MRBeEVG4ZuG) wprowadziliśmy kilka usprawnień na zasobach odpowiedzialnych za oceny sprzedaży.

**Co zmieniliśmy?**

Dla [GET /sale/user-ratings](https://developer.allegro.pl/documentation/#operation/getUserRatingsUsingGET):

- dodaliśmy nowy opcjonalny parametr do filtrowania według **lastChangedAt**,
- zmieniliśmy domyślne sortowanie z **createdAt** na **lastChangedAt** - dzięki temu domyślnie jako pierwsze zwracamy ostatnio dodane lub zmienione oceny.

Ponadto zmieniliśmy format daty na UTC, np. "2022-07-08T09:45:43.818Z" dla:

- [GET /sale/user-ratings](https://developer.allegro.pl/documentation/#operation/getUserRatingsUsingGET) - w zwracanych polach **createdAt**, **removal.possibleTo**, **answer.createdAt** i **removal.request.createdAt**,
- [PUT /sale/user-ratings/{ratingId}/answer](https://developer.allegro.pl/documentation/#operation/answerUserRatingUsingPUT) - w zwracanym polu **createdAt**,
- [PUT /sale/user-ratings/{ratingId}/removal](https://developer.allegro.pl/documentation/#operation/userRatingRemovalUsingPUT) - w zwracanych polach **request.createdAt** i **possibleTo**.

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

------

According to [our announcement](https://developer.allegro.pl/news/get-sale-user-ratings-dodalismy-nowe-pola-MRBeEVG4ZuG), we have made some improvements to the user ratings resources.

**What have we changed?**

For [GET /sale/user-ratings](https://developer.allegro.pl/documentation/#operation/getUserRatingsUsingGET):

- we have added a new optional parameter to filter by **lastChangedAt**,
- we have changed the default sorting from **createdAt** to **lastChangedAt** - thanks to this, we will return the most recently added or changed ratings first, by default.

In addition we have changed the date format to UTC, e.g. "2022-07-08T09:45:43.818Z" for:

- [GET /sale/user-ratings](https://developer.allegro.pl/documentation/#operation/getUserRatingsUsingGET) - in the returned **createdAt**, **removal.possibleTo**, **answer.createdAt** i **removal.request.createdAt** fields,
- [PUT /sale/user-ratings/{ratingId}/answer](https://developer.allegro.pl/documentation/#operation/answerUserRatingUsingPUT) - in the returned **createdAt** field,
- [PUT /sale/user-ratings/{ratingId}/removal](https://developer.allegro.pl/documentation/#operation/userRatingRemovalUsingPUT) - in the returned **request.createdAt** and **possibleTo** fields.

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 を短くまとめたダイジェスト。