allegro / allegro/allegro-api

[NEWS] Cenniki dostaw - dodaliśmy pola, pozwalające na rozpoznanie kraju nadania i dostawy / Shipping rates - we have added fields to identify the country of dispatch and destination

Aperta
#11,486 0 commenti 0 reazioni 1 assegnatario Rivendicata da @AureliuszBrussy Vedi su GitHub
News Sale settings
Lingua principale
Nessun dato sulla lingua
Stelle
244
Fork
40
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Za pomocą [GET /sale/delivery-methods](https://developer.allegro.pl/documentation#operation/getListOfDeliveryMethodsUsingGET) pobierzesz dostępne dla sprzedającego metody dostawy, które możesz wykorzystać podczas tworzenia cenników dostaw.

**Co zmieniliśmy?**

Od dzisiaj, w odpowiedzi dla [GET /sale/delivery-methods](https://developer.allegro.pl/documentation#operation/getListOfDeliveryMethodsUsingGET), zwracamy dla każdej metody dostawy dwa nowe pola:

- **dispatchCountry** - kod kraju, z którego przesyłka może zostać nadana; może wystąpić wartość `null`, jeżeli przesyłka może zostać nadana z dowolnego kraju,
- **destinationCountry** - kod kraju, do którego przesyłka może zostać dostarczona.

**Dlaczego wprowadziliśmy zmianę?**

Dzięki nowym polom w łatwy sposób rozpoznasz, dla jakich kierunków przeznaczona jest dana metoda dostawy.

Więcej o cennikach dostawy przeczytasz [w naszym poradniku](https://developer.allegro.pl/tutorials/jak-zarzadzac-kontem-danymi-uzytkownika-ZM9YAKgPgi2#ustawienia-i-cenniki-dostaw).

----------

With [GET /sale/delivery-methods](https://developer.allegro.pl/documentation#operation/getListOfDeliveryMethodsUsingGET) you can get the delivery methods available to the seller, which you can use when creating shipping rates.

**What did we change?**

Starting today, in the response for [GET /sale/delivery-methods](https://developer.allegro.pl/documentation#operation/getListOfDeliveryMethodsUsingGET), we are returning two new fields for each delivery method:

- **dispatchCountry** - country code from which the shipment is dispatched; there may be a `null` value if the shipment can be sent from any country,
- **destinationCountry** - country code to which the shipment is being sent.

**Why did we make the change?**

With the new fields, you can easily identify which directions a particular delivery method is intended for.

You can read more about shipping rates [in our guide](https://developer.allegro.pl/tutorials/account-and-user-data-management-jn9vBjqjnsw#delivery-settings-and-shipping-rates).

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.