allegro / allegro/allegro-api

[NEWS] GPSR - umożliwiamy pobranie danych teleadresowych wybranego producenta produktu / GPSR - we allow you to retrieve the contact information of the selected product producer

オープン
#10,290 コメント 0 件 リアクション 0 件 担当者 1 名 @MaciejFrackowiak が担当を希望しています GitHub で見る
News Offer - management
主要言語
言語のデータがありません
スター
244
フォーク
40
PR マージ指標
30日以内にマージされた PR はありません

説明

**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?**

Dotychczas korzystając z [GET /sale/responsible-producers](https://developer.allegro.pl/documentation/#operation/responsibleProducersGET) mogłeś pobrać listę wszystkich danych teleadresowych producentów produktów, których utworzyłeś na koncie.

**Co zmieniliśmy?**

Udostępniliśmy dzisiaj zasób [GET /sale/responsible-producers/{id}](https://developer.allegro.pl/documentation/#operation/responsibleProducerGET), dzięki któremu pobierzesz tylko dane wybranego producenta produktu.

**Przykładowy request:**
```json5
curl -X GET \
'https://api.allegro.pl/sale/responsible-producers/59a8b818-0a38-4540-92f4-3645923cb9c6' \
-H 'Accept: application/vnd.allegro.public.v1+json' \
-H 'Authorization: Bearer {token}' \
```
>
**Przykładowy response:**
```json5
{
"id": "59a8b818-0a38-4540-92f4-3645923cb9c6", // identyfikator danych producenta
"name": "Producent ABC", // własna nazwa
"producerData": { // dane producenta
"tradeName": "ABC Company", // nazwa firmy
"address": { // adres
"countryCode": "PL", // kod kraju
"street": "Wielka 1", // ulica
"postalCode": "61-774", // kod pocztowy
"city": "Poznań" // miasto
},
"contact": { // dane kontaktowe
"email": "producer@abc-company.com", // adres email
"phoneNumber": "600700800" // numer telefonu
}
}
}
```
>
**Dlaczego wprowadziliśmy zmianę?**

Zależy nam, aby sprzedający mogli w możliwie najwygodniejszy dla siebie sposób pobrać i uzupełnić oferty danymi teleadresowymi producentów 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?**

Until now, using [GET /sale/responsible-producers](https://developer.allegro.pl/documentation/#operation/responsibleProducersGET) you could retrieve a list of all the contact information of the product producers you created in your account.

**What have we changed?**

We have released today a [GET /sale/responsible-producers/{id}](https://developer.allegro.pl/documentation/#operation/responsibleProducerGET) resource, which will return only the data of the selected product producer.

**Sample request:**
```json5
curl -X GET \
'https://api.allegro.pl/sale/responsible-producers/59a8b818-0a38-4540-92f4-3645923cb9c6' \
-H 'Accept: application/vnd.allegro.public.v1+json' \
-H 'Authorization: Bearer {token}' \
```
>
**Sample response:**
```json5
{
"id": "59a8b818-0a38-4540-92f4-3645923cb9c6", // responsible producer data identifier
"name": "Producent ABC", // internal name
"producerData": { // producer data
"tradeName": "ABC Company", // producer name
"address": { // address
"countryCode": "PL", // country code
"street": "Wielka 1", // street
"postalCode": "61-774", // postal code
"city": "Poznań" // city
},
"contact": { // contact details
"email": "producer@abc-company.com", // email address
"phoneNumber": "600700800" // phone number
}
}
}
```
>
**Why have we made the change?**

We want sellers to be able to retrieve and complete their offers as conveniently as possible with the contact information of product producers, which will be required under the GPSR regulation as of **December 13, 2024**.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。