allegro / allegro/allegro-api

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

未關閉
#2,813 0 則留言 0 個 reaction 已指派 1 人 已被 @PrzemyslawLukanowski 認領 在 GitHub 檢視
News
主要語言
沒有語言資料
星號
244
分支
40
PR 合併指標
30 天內沒有已合併 PR

描述

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.

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。