allegro / allegro/allegro-api

[NEWS] POST /pricing/offer-fee-preview - zmienimy zwracane typy pól / POST /pricing/offer-fee-preview - we will change the returned field types

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

説明

[POST /pricing/offer-fee-preview](https://developer.allegro.pl/documentation#operation/calculateFeePreviewUsingPOST) pozwala sprawdzić, jakie opłaty naliczymy w ramach konkretnej oferty.

**15 września 2022** zmienimy typ wartości zwracany w odpowiedzi dla tego zasobu w polach:

- commissions[].fee.amount,
- quotes[].fee.amount.

Aktualny typ jaki zwracamy to wartość dziesiętna (decimal), natomiast **od 15 września** zwrócona wartość będzie typem tekstowym (string).

**Dlaczego wprowadzimy zmianę?**

Chcemy ujednolicić zwracane typy danych w naszym API, tak aby w każdym przypadku cena była podawana w jednakowym formacie.

-------
[POST /pricing/offer-fee-preview](https://developer.allegro.pl/documentation#operation/calculateFeePreviewUsingPOST) allows you to check what fees will be charged for a specific offer.

On **September 15, 2022**, we will change the type of value returned in the response for this resource in the fields:

- commissions[].fee.amount,
- quotes[].fee.amount.

The current type we return is decimal, while **from September 15** the returned value will be a string type.

**Why are we making a change?**

We want to standardize the returned data types in our API so that in each case the price is given in the same format.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。