[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
- Ngôn ngữ chính
- Không có dữ liệu ngôn ngữ
- Star
- 244
- Fork
- 40
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
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.
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.