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

Abierto
#5,958 0 comentarios 0 reacciones 1 asignado Reclamado por @AureliuszBrussy Ver en GitHub
News
Lenguaje dominante
Sin datos de lenguaje
Estrellas
244
Forks
40
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.