[NEWS] Wysyłam z Allegro - dodaliśmy pole “type” na poziomie sekcji “items” oraz zmieniliśmy jego wymagalność / Send with Allegro - we have added the “type” field at the level of the "items" section and changed its requirement
- Lingua principale
- Nessun dato sulla lingua
- Stelle
- 244
- Fork
- 40
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
Od dziś, gdy tworzysz przesyłki za pomocą [PUT /parcel-management/parcel-create-commands/{commandId}](https://developer.allegro.pl/documentation/#operation/createNewParcel), możesz także utworzyć tzw. wielopaczkę, np. składającą się ze zwykłej paczki i palety. W związku z tą zmianą dodaliśmy pole **“type”** także na poziomie sekcji **“items”**, dzięki czemu możesz określić rodzaj paczki dla każdej przesyłki z osobna. Zmieniliśmy również wymagalność pól:
- **“type”** jest wymagane tylko na jednym z poziomów (głównym lub w **“items”**),
- jeśli pola “**type”** są uzupełnione na dwóch poziomach, sprawdzimy czy wszystkie pola **“type”** na poziomie **“items”** mają taką samą wartość jak pole **“type”** na głównym poziomie. Jeśli nie, zwrócimy błąd.
Opcja jest dostępna tylko u wybranych przewoźników, poniżej znajdziesz maksymalną liczbę paczek dla każdego z nich:
- 10 - DHL (oprócz palet), DPD (oprócz kopert), GLS, INPOST_KURIER, UPS (umowa własna), FEDEX,
- 5 - DHL (paleta),
- 1 - pozostali przewoźnicy.
Więcej informacji znajdziesz w [naszym poradniku](https://developer.allegro.pl/wza/#jak-utworzy%c4%87-now%c4%85-paczk%c4%99).
-----
As of today when you create parcels via [PUT /parcel-management/parcel-create-commands/{commandId}](https://developer.allegro.pl/en/documentation/#operation/createNewParcel) you can also create a so-called multipack, e.g. consisting of an ordinary package and a pallet. Due to this change, we have added the **“type”** field also at the level of the **"items"** section, so you can specify the type of parcel for each shipment separately. We also changed the requirement:
- **“type”** is required only on one of the levels (main or in **"items"**),
- if **“type”** fields are filled on two levels, we will check if all **“type”** fields on the **“items”** level have the same value as **“type”** as on the main level. If not, we will return an error.
This option is available only for selected carriers. Below you can find the maximum number of parcels for each of them:
- 10 - DHL (except pallet), DPD (except dox), GLS, INPOST_KURIER, UPS (own contract), FEDEX,
- 5 - DHL (pallet),
- 1 - other carriers.
You can find more information in [our guide](https://developer.allegro.pl/en/wza/#how-to-create-a-new-parcel).
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.