allegro / allegro/allegro-api

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

Ouverte
#5,970 17 commentaires 0 réactions 1 personne assignée Réclamée par @Lukasz-Zurek 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

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.

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.