allegro / allegro/allegro-api

[NEWS] POST /sale/product-offers - wystaw w prosty sposób ofertę powiązaną z produktem / POST /sale/product-offers - simple way to list an offer assigned to a product

Aperta
#3,214 22 commenti 0 reazioni 1 assegnatario Rivendicata da @PrzemyslawLukanowski Vedi su GitHub
News
Lingua principale
Nessun dato sulla lingua
Stelle
244
Fork
40
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Aktualnie, jeśli chcesz wystawić ofertę i powiązać ją z produktem, musisz przejść złożony proces, który wymaga wykonania wielu zapytań do różnych zasobów. Dążymy do tego, aby ten proces usprawnić - chcemy ograniczyć liczbę operacji potrzebnych do wystawienia oferty powiązanej z produktem.

W związku z tym udostępniliśmy nowy, dodatkowy zasób [POST /sale/product-offers](https://developer.allegro.pl/documentation/#operation/createProductOffers) w wersji beta, dzięki któremu **za pomocą jednego żądania wystawisz aktywną ofertę powiązaną z produktem**:

- **który istnieje już w naszej bazie**. Wystarczy, że w żądaniu przekażesz numer EAN (lub identyfikator produktu) oraz cenę i liczbę sztuk,
- **którego nie ma w naszej bazie**. W strukturze żądania za pomocą kompletu danych opiszesz sprzedawany produkt oraz przekażesz informacje o cenie i liczbie sztuk.

Pozostałe dane wymagane do poprawnego wystawienia oferty uzupełnimy wartościami domyślnymi.

Więcej informacji na temat nowego zasobu znajdziesz w [naszym poradniku](https://developer.allegro.pl/product_offers/).

W przyszłości, gdy skorzystasz z tego zasobu, w twoich ofertach zaprezentujemy najbardziej aktualne dane z naszego katalogu produktów. Gdy zaktualizujemy dane produktu w katalogu, nie będzie konieczne kopiowanie czy akceptowanie zmian w ofercie. Pozwoli to nam także automatycznie uzupełnić parametry, których aktualnie wymagamy przy edycji oferty.

-----

Process of listing an offer assigned to a product is a complex operation - you need to send multiple requests to different resources. We aim to make this process easier, we want to limit the number of operations required to list an offer assigned to a product.

Therefore, we have introduced a new, additional resource [POST /sale/product-offers](https://developer.allegro.pl/documentation/#operation/createProductOffers) in beta version, which allows you to **list an offer assigned to a product with one reques**t:

- **if the product already exists in our database**, all you need to do is provide EAN code (or product ID), price and quantity,
- **if the product is not in our database**, you need to provide product data, price and quantity.

We will complete the rest of the data needed to list an offer with default values.

You can find more information about new resource in [our guide](https://developer.allegro.pl/en/product_offers/).

In the future, when you use this resource, we will fill out your offers with the most recent data from our product catalog. You won't need to copy or accept changes in your offers after we update the catalog. It will also allow us to automatically complete the parameters that we currently require when editing the offer.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.