allegro / allegro/allegro-api

[NEWS] Wysyłam z Allegro - zmienimy typy pól / Ship with Allegro - we will change the field types

Aberta
#5,970 17 comentários 0 reações 1 responsável Reivindicada por @Lukasz-Zurek Ver no GitHub
News
Linguagem predominante
Sem dados de linguagem
Estrelas
244
Forks
40
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

Zasoby /parcel-management pozwalają zarządzać przesyłkami w usłudze [Wysyłam z Allegro](https://developer.allegro.pl/tutorials/jak-zarzadzac-przesylkami-przez-wysylam-z-allegro-LRVjK7K21sY).

**Co zmienimy?**

3 października 2022 zmienimy typ pól. Obecną wartość z liczbą całkowitą (integer) zastąpimy typem tekstowym (string).

**Gdzie wprowadzamy zmiany?**

Typ wartości zmienimy dla:

- [GET /parcel-management/delivery-services](https://developer.allegro.pl/documentation/#operation/getAvailableDeliveryServices) - w zwracanym polu deliveryServices.id,
- [PUT /parcel-management/parcel-create-commands/{commandId}](https://developer.allegro.pl/documentation/#operation/createNewParcel) - w polach:

- serviceId,
- Items.dimensions.height,
- items.dimensions.width,
- Items.dimensions.depth,

oraz w zwracanych polach:

-
- input.serviceId,
- input.Items.dimensions.height,
- input.items.dimensions.width,
- input.Items.dimensions.depth,
- [GET /parcel-management/parcels/{parcelId}](https://developer.allegro.pl/documentation/#operation/getParcelDetails) - w zwracanych polach:

- serviceId,
- Items.dimensions.height,
- items.dimensions.width,
- Items.dimensions.depth.

**Dlaczego wprowadzimy zmianę?**

Chcemy ujednolicić zwracane typy danych w naszym API, tak aby wszystkie wartości liczbowe były przekazywane w jednakowym formacie.

------

The /parcel-management resources allow you to manage shipments in the [Ship with Allegro](https://developer.allegro.pl/tutorials/how-to-manage-parcels-via-ship-with-allegro-ZM9YAyGKWTV) service.

**What will we change?**

On October 3, 2022, we will change the field types. We will replace the current integer value with a text type (string).

**Where are we making changes?**

We will change the value type for:

- [GET /parcel-management/delivery-services](https://developer.allegro.pl/documentation/#operation/getAvailableDeliveryServices) - in the returned deliveryServices.id field,
- [PUT /parcel-management/parcel-create-commands/{commandId}](https://developer.allegro.pl/documentation/#operation/createNewParcel) - in the fields:

- serviceId,
- Items.dimensions.height,
- items.dimensions.width,
- Items.dimensions.depth,

and in the returned fields:

-
- input.serviceId,
- input.Items.dimensions.height,
- input.items.dimensions.width,
- input.Items.dimensions.depth,
- [GET /parcel-management/parcels/{parcelId}](https://developer.allegro.pl/documentation/#operation/getParcelDetails) - in the returned fields:

- serviceId,
- Items.dimensions.height,
- items.dimensions.width,
- Items.dimensions.depth.

**Why are we making a change?**

We want to standardize the return data types in our API so that all numeric values are provided in the same format.

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.