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

Aberta
#10,290 0 comentários 0 reações 1 responsável Reivindicada por @MaciejFrackowiak Ver no GitHub
News Offer - management
Linguagem predominante
Sem dados de linguagem
Estrelas
244
Forks
40
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

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

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.