[NEWS] GPSR - GET /sale/products/{productId} - dodaliśmy dane o bezpieczeństwie produktu / GPSR - GET /sale/products/{productId} - we have added product safety data
- Lingua principale
- Nessun dato sulla lingua
- Stelle
- 244
- Fork
- 40
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
**13 grudnia 2024** zacznie obowiązywać nowe rozporządzenie Unii Europejskiej **[General Product Safety Regulation](https://commission.europa.eu/business-economy-euro/doing-business-eu/eu-product-safety-and-labelling/product-safety/general-product-safety-regulation_en)**. Celem GPSR jest pokazanie kupującemu, skąd pochodzi produkt, który może kupić na Allegro.
**Jak było dotychczas?**
[Dane teleadresowe producenta](https://developer.allegro.pl/news/dodalismy-zasoby-do-zarzadzania-danymi-teleadresowymi-producentow-produktow-wynikajacymi-z-rozporzadzenia-gpsr-Agj6K40vbHZ) oraz [informacje o bezpieczeństwie produktu](https://developer.allegro.pl/tutorials/jak-jednym-requestem-wystawic-oferte-powiazana-z-produktem-D7Kj9gw4xFA#informacje-o-bezpieczenstwie-produktu) trzeba było zdefiniować indywidualnie korzystając z dedykowanych zasobów.
**Co zmieniliśmy?**
Dzisiaj, dla [GET /sale/products/{productId}](https://developer.allegro.pl/documentation/#operation/getSaleProduct) udostępniliśmy nowe pole “**productSafety**”, w którym zwracamy dane teleadresowe producenta (“**responsibleProducers**”) oraz informacje o bezpieczeństwie produktu (“**safetyInformation**”), jeżeli wybrany produkt z Katalogu Produktów Allegro posiada zdefiniowane dane.
**Przykładowy response:**
```json5
{
"id": "17f43940-5a02-4a79-89cb-29f3ac9f8742",
"name": "Telewizor Samsung QLED QE65Q80AAT 50 8K UHD",
...
"productSafety": {
"responsibleProducers": [
{
"id": "8f2aac52-d031-4035-b7c7-174a59f1586b",
"name": "Samsung",
"producerData": {
"tradeName": "Samsung",
"address": {
"street": "ul. Postępu 14",
"postalCode": "02-676",
"city": "Warszawa",
"countryCode": "PL"
},
"contact": {
"email": "kontakt.kr@samsung.com",
"phoneNumber": null
}
}
}
],
"safetyInformation": {
"type": "ATTACHMENTS",
"attachments": [
{
"id": "34b2f604-c585-4597-8c35-2446073c845c"
}
]
}
}
}
```
>
Tym samym przekazując identyfikator produktu (“**product.id**”) podczas tworzenia oferty ([POST /sale/product-offers](https://developer.allegro.pl/documentation/#operation/createProductOffers)) uwzględnimy dane o bezpieczeństwie produktu w samej ofercie.
**Dlaczego wprowadziliśmy zmianę?**
Zależy nam, aby sprzedający mogli w możliwie najwygodniejszy dla siebie sposób uzupełnić oferty danymi teleadresowymi producentów oraz informacjami o bezpieczeństwie produktów, które z dniem **13 grudnia 2024** będą wymagane zgodnie z rozporządzeniem GPSR.
-----
On **December 13, 2024**, the new European Union Regulation **[General Product Safety Regulation](https://commission.europa.eu/business-economy-euro/doing-business-eu/eu-product-safety-and-labelling/product-safety/general-product-safety-regulation_en)** will come into effect. The goal of the GPSR is to show the buyer where the product available on Allegro originates.
**How was it so far?**
The [contact information of the product producer](https://developer.allegro.pl/news/we-have-added-resources-to-manage-product-producers-contact-information-resulting-from-the-gpsr-regulation-2Y9Pwgo0yUW) and [product safety information](https://developer.allegro.pl/tutorials/list-offer-assigned-product-one-request-D7Kj9M71Bu6#product-safety-information) had to be defined individually using dedicated resources.
**What have we changed?**
Today, we have provided a new “**productSafety**” field for [GET /sale/products/{productId}](https://developer.allegro.pl/documentation/#operation/getSaleProduct), which returns the contact information of the product producer (“**responsibleProducers**”) and product safety information (“**safetyInformation**”) if the selected product from the Allegro Product Catalog has the defined data.
**Sample response:**
```json5
{
"id": "17f43940-5a02-4a79-89cb-29f3ac9f8742",
"name": "Telewizor Samsung QLED QE65Q80AAT 50 8K UHD",
...
"productSafety": {
"responsibleProducers": [
{
"id": "8f2aac52-d031-4035-b7c7-174a59f1586b",
"name": "Samsung",
"producerData": {
"tradeName": "Samsung",
"address": {
"street": "ul. Postępu 14",
"postalCode": "02-676",
"city": "Warszawa",
"countryCode": "PL"
},
"contact": {
"email": "kontakt.kr@samsung.com",
"phoneNumber": null
}
}
}
],
"safetyInformation": {
"type": "ATTACHMENTS",
"attachments": [
{
"id": "34b2f604-c585-4597-8c35-2446073c845c"
}
]
}
}
}
```
>
Thus, by passing the product identifier (“**product.id**”) when creating an offer ([POST /sale/product-offers](https://developer.allegro.pl/documentation/#operation/createProductOffers)), we will include the product safety data in the offer itself.
**Why have we made the change?**
We want sellers to be able to complete their offers as conveniently as possible with the contact information of product producers and product safety information, which will be required under the GPSR regulation as of **December 13, 2024**.
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.