allegro / allegro/allegro-api

[NEWS] Zamówienia - dodaliśmy informację o rabatach i zniżkach dla każdej pozycji zakupowej / Orders - we have added information on discounts and rebates for each line item

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

描述

Automatyzacja obsługi zamówień stanowi jedną z podwalin API Allegro, ułatwiając pracę i zwiększając efektywność.

**Jak było dotychczas?**

Informację o rabatach i zniżkach dla:

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

zwracaliśmy w polu “**discounts**” w odniesieniu do całego zamówienia.

**Co zmieniliśmy?**

Dzisiaj wprowadziliśmy nowe pole “**lineItems[].discounts**”, dzięki któremu informację o rabatach i zniżkach zwracamy dla każdej pozycji zakupowej wchodzącej w skład danego zamówienia.

Jednocześnie dotychczasowe pole “**discounts**” oznaczyliśmy jako **deprecated**, a **7 stycznia 2026** całkowicie je usuniemy.

**Dlaczego wprowadzamy zmianę?**

Chcemy, aby sprzedający mieli precyzyjną informację, które elementy zamówienia były objęte rabatami i zniżkami, co pozwoli na dokładniejsze księgowanie i prostszą obsługę ewentualnych zwrotów.

-----

Order automation is one of the cornerstones of the Allegro API, making work easier and more efficient.

**How has it been so far?**

So far, we have been returning information on discounts and rebates for:

* [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 “**discounts**” field, for the entire order.

**What have we changed?**

Today, we have introduced a new field “**lineItems[].discounts**”, which returns information about discounts and rebates for each line item included in a given order.

At the same time, we have marked the existing “**discounts**” field as **deprecated** and will remove it completely on **January 7, 2026**.

**Why do we make the change?**

We want sellers to have precise information about which items in the order were subject to discounts and rebates, which will allow for more accurate accounting and simpler handling of any returns.

貢獻指南

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

評估

這個 Issue 還沒有評估資料。

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

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