allegro / allegro/allegro-api

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

Ouverte
#3,757 0 commentaires 0 réactions 1 personne assignée Réclamée par @MaciejFrackowiak Voir sur GitHub
News
Langage dominant
Aucune donnée de langage
Étoiles
244
Forks
40
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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).

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.