allegro / allegro/allegro-api

[NEWS] Zamówienia - dodaliśmy informację o zestawach produktów / Orders - we have added information about product sets

Ouverte
#8,138 0 commentaires 0 réactions 1 personne assignée Réclamée par @MartaNowaczyk Voir sur GitHub
News Orders - management
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

Zamówienia, to bardzo ważna część procesu sprzedażowego i powinna zawierać jak najwięcej informacji, dlatego postanowiliśmy je uzupełnić. Dodaliśmy nową strukturę dzięki czemu sprzedający, który w swoich ofertach ma zdefiniowany zestaw produktowy, dowie się z jakich produktów i z jakiej liczby składa się dane zamówienie.

**Jakich zasobów dotyczy zmiana?**

- [GET /order/checkout-forms](https://developer.allegro.pl/documentation/#operation/getListOfOrdersUsingGET) - lista zamówień,
- [GET /order/checkout-forms/{id}](https://developer.allegro.pl/documentation/#operation/getOrdersDetailsUsingGET) - szczegóły zamówienia.

**Co zmieniliśmy?**

Do struktury zamówień, do sekcji "**offer**" dodaliśmy nowy obiekt "**productSet**", gdzie zawrócimy listę produktów, które były sprzedawane jako zestaw w danej ofercie.

```
"productSet": { - zestawy produktów
"products": [ - lista produktów w zestawie
{
"id": "9d689aa5-f2ad-4bdc-bb97-6b196854e6c7", - ID produktu
"quantity": 1 - liczba produktów w danym zestawie
},
{
"id": "280ee7f4-7b69-4a71-84dd-c88f95594402",
"quantity": 1
}
]
}
```

Więcej informacji o zestawach produktowych znajdziesz w dedykowanym [artykule](https://allegro.pl/dla-sprzedajacych/czym-sa-zestawy-produktowe-b213zvz0aUd).

----
Orders are a very important part of the sales process and should contain as much information as possible. We decided to add a new structure thanks to which the seller, who has a product set defined in his offers, will find out what and how many products a given order consists of.

**What resources are affected by the change?**

- [GET /order/checkout-forms](https://developer.allegro.pl/documentation/#operation/getListOfOrdersUsingGET) - the list of orders,
- [GET /order/checkout-forms/{id}](https://developer.allegro.pl/documentation/#operation/getOrdersDetailsUsingGET) - order details.

**What have we changed?**

To the order structure, in the "**offer**" section we added a new "**productSet**" object, where we will return the list of products that were sold as a set in a given offer.

```
"productSet": { - product sets
"products": [ - list of products in the set
{
"id": "9d689aa5-f2ad-4bdc-bb97-6b196854e6c7", - product ID
"quantity": 1 - number of products in a given set
},
{
"id": "280ee7f4-7b69-4a71-84dd-c88f95594402",
"quantity": 1
}
]
}
```

You can find more information about product sets in the dedicated [article](https://allegro.pl/dla-sprzedajacych/czym-sa-zestawy-produktowe-b213zvz0aUd).

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.