allegro / allegro/allegro-api

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

Aberta
#2,813 0 comentários 0 reações 1 responsável Reivindicada por @PrzemyslawLukanowski Ver no GitHub
News
Linguagem predominante
Sem dados de linguagem
Estrelas
244
Forks
40
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

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.

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.