allegro / allegro/allegro-api

[NEWS] Zamówienia - nowe pole shipmentSummary.lineItemsSent / Orders - new field shipmentSummary.lineItemsSent

Offen
#2,813 0 Kommentare 0 Reaktionen 1 zugewiesene Person Beansprucht von @PrzemyslawLukanowski Auf GitHub ansehen
News
Vorherrschende Sprache
Keine Sprachdaten
Sterne
244
Forks
40
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

Udostępniliśmy nowe pole **shipmentSummary.lineItemsSen**t w:

- [GET /order/checkout-forms](https://developer.allegro.pl/documentation/#operation/getListOfOrdersUsingGET),
- [GET /order/checkout-forms/{id}](https://developer.allegro.pl/documentation/#operation/getOrdersDetailsUsingGET).

W sekcji **fulfillment**, oprócz aktualnego [statusu realizacji zamówienia](https://github.com/allegro/allegro-api/issues/2775), znajdziesz informację, czy do przedmiotów w zamówieniu dołączono numery przesyłek. Dostępne wartości określają przypisane numery przesyłek do:

- ALL - wszystkich przedmiotów w zamówieniu,
- SOME - przynajmniej jednego przedmiotu z zamówienia. Za pomocą [GET /order/checkout-forms/{id}/shipments](https://developer.allegro.pl/documentation/#operation/getOrderShipmentsUsingGET) sprawdzisz przedmioty, do których dodałeś już numer.
- NONE - żadnego przedmiotu z zamówienia.

**Ważne!** Wartość w polu **shipmentSummary.lineItemsSent** zwracamy dla zamówień utworzonych po 15.01.2020.

Możesz filtrować zamówienia według załączonych numerów przesyłek, w tym celu przekaż w requeście parametr **fulfillment.shipmentSummary.lineItemsSent** wraz z wybraną wartością, np.

`GET /order/checkout-forms?fulfillment.shipmentSummary.lineItemsSent=NONE`

Możesz przekazać więcej niż jedną wartość parametru, np.

`GET /order/checkout-forms?fulfillment.shipmentSummary.lineItemsSent=ALL&fulfillment.shipmentSummary.lineItemsSent=SOME`

Takie wywołanie traktujemy jako połączone operatorem OR, czyli zwrócimy wszystkie zamówienia, które posiadają choć jeden z przekazanych statusów.

-----

We have introduced new field **shipmentSummary.lineItemsSent** in:

- [GET /order/checkout-forms](https://developer.allegro.pl/documentation/#operation/getListOfOrdersUsingGET),
- [GET /order/checkout-forms/{id}](https://developer.allegro.pl/documentation/#operation/getOrdersDetailsUsingGET).

In the **fulfillment** section, in addition to the [order fulfillment status](https://github.com/allegro/allegro-api/issues/2775), you will find information whether ordered items have a tracking number. Available values specify assigned tracking numbers to:

- ALL - all items in the order,
- SOME - at least one item in the order. Via [GET /order/checkout-forms/{id}/shipments](https://developer.allegro.pl/documentation/#operation/getOrderShipmentsUsingGET) you can check items with added a number.
- NONE - none item in the order.

**Note!** We return the value in the field **shipmentSummary.lineItemsSent** for orders created after 15.01.2020.

To filter orders by assigned tracking numbers - provide the fulfillment.shipmentSummary.lineItemsSent parameter in your request with the chosen value, e.g.

`GET /order/checkout-forms?fulfillment.shipmentSummary.lineItemsSent=NONE`

You can provide more than one value, e.g.

`GET /order/checkout-forms?fulfillment.shipmentSummary.lineItemsSent=ALL&fulfillment.shipmentSummary.lineItemsSent=SOME `

We recognize multiple filters as connected with OR operator - in response you will receive orders, which have at least one status given in the query.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.