allegro / allegro/allegro-api

[NEWS] Nowa sekcja “discounts” w ofercie / New section “discounts” in an offer

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

描述

Dzisiaj w modelu oferty udostępniliśmy nową sekcję **discounts**, w której zwracamy informacje o zniżkach przypisanych do oferty. Obecnie, w sekcji znajdziesz identyfikator cennika hurtowego dodanego do oferty. W przypadku jego braku zwrócimy wartość **null**.

Model oferty po zmianie:
```
...
"discounts": {
"wholesalePriceList": {
"id": "5637592a-0a24-4771-b527-d89b2767d821"
}
},
...
```
Dzięki zmianie możesz w prosty sposób dodać cennik hurtowy podczas wystawiania lub edycji oferty.

Więcej informacji o cennikach hurtowych znajdziesz w [naszym poradniku](https://developer.allegro.pl/offer_bundles/#30).

-----
Today, in the offer model, we have introduced a new section **discounts**, in which we return information about the discounts assigned to the offer. Currently, in the section, you will find the id of the wholesale price list added to the offer. If it is missing, we will return **null** value.

Offer model after change:
```
...
"discounts": {
"wholesalePriceList": {
"id": "5637592a-0a24-4771-b527-d89b2767d821"
}
},
...
```
Thanks to the change, you can easily add a wholesale price list when listing or editing an offer.

You will find more information about wholesale price lists in [our tutorial](https://developer.allegro.pl/en/offer_bundles/#30).

貢獻指南

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

評估

這個 Issue 還沒有評估資料。

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

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