allegro / allegro/allegro-api

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

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

説明

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.

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

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

評価

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

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

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