[NEWS] Zarządzanie ofertami - usprawniliśmy aktualizację informacji o GPSR / Managing offers - we have made it easier to update GPSR information
- 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
Wprowadziliśmy zmianę, dzięki której łatwiej zadbasz o poprawność informacji o bezpieczeństwie produktu (GPSR) w istniejących ofertach.
**Jak było dotychczas?**
Aby uzupełnić brakujące informacje o GPSR w oparciu o dane z Katalogu Produktów, należało je pobrać za pomocą [GET /sale/products/{productId}](https://developer.allegro.pl/documentation#tag/Products/operation/getSaleProduct), a następnie przekazać w żądaniu [PATCH /sale/product-offers/{offerId}](https://developer.allegro.pl/documentation#tag/Offer-management/operation/editProductOffers).
**Co zmieniliśmy?**
Aktualnie, podczas edycji oferty za pomocą [PATCH /sale/product-offers/{offerId}](https://developer.allegro.pl/documentation#tag/Offer-management/operation/editProductOffers), automatycznie zaktualizujemy dane o bezpieczeństwie produktu. Wystarczy, że w strukturze żądania wskażesz identyfikator produktu (**product.id**).
W ten sposób dane z pola **productSafety** (responsibleProducer i safetyInformation) z odpowiedzi [GET /sale/products/{productId}](https://developer.allegro.pl/documentation#tag/Products/operation/getSaleProduct) automatycznie uwzględnimy w Twojej ofercie. Tym samym uspójniliśmy podejście w aktualizacji danych produktowych w ofercie za pomocą metody PATCH - dane o GPSR obsługujemy aktualnie w ten sam sposób, co dotyczasowe składowe produktu.
**Ważne!** Pamiętaj, że w ten sposób jednocześnie zaktualizujemy w ofercie również pozostałe wartości na podstawie Katalogu Produktów (parametry, zdjęcia i opis). Dlatego, jeśli chcesz zachować obecne dane, uwzględnij je także w strukturze żądania.
-----
We have implemented a change to make it easier for you to manage product safety information ([GPSR](https://commission.europa.eu/business-economy-euro/doing-business-eu/eu-product-safety-and-labelling/product-safety_en)) in your existing offers
**How has it been so far?**
To complete the missing GPSR based on data from the Product Catalog, it was necessary to retrieve it using [GET /sale/products/{productId}](https://developer.allegro.pl/documentation#tag/Products/operation/getSaleProduct), and then include it in the [PATCH /sale/product-offers/{offerId}](https://developer.allegro.pl/documentation#tag/Offer-management/operation/editProductOffers) request body.
**What have we changed?**
Currently, when you edit an offer using [PATCH /sale/product-offers/{offerId}](https://developer.allegro.pl/documentation#tag/Offer-management/operation/editProductOffers), we will automatically update the product's safety information. All you need to do is specify the product identifier (**product.id**) in the request body.
This way, the data from the **productSafety** field (responsibleProducer and safetyInformation) in the [GET /sale/products/{productId} ](https://developer.allegro.pl/documentation#tag/Products/operation/getSaleProduct)response will be automatically included in your offer. This has standardized how we update product data via the PATCH method. GPSR data is now handled in the same way as other product components
**Note**! Remember that this process will also simultaneously update the other values in the offer based on the Product Catalog (parameters, images, and description). Therefore, if you want to preserve the current data, you must include it in the request body as well.
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Évaluation
Cette issue n'a pas encore été évaluée.