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

Ouverte
#5,958 0 commentaires 0 réactions 1 personne assignée Réclamée par @AureliuszBrussy Voir sur GitHub
News
Langage dominant
Aucune donnée de langage
Étoiles
244
Forks
40
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.