allegro / allegro/allegro-api

[NEWS] Dodaliśmy opcję powiadomień dla zgłaszania sugestii zmian w produktach / We have added a notification option for submitting product change suggestions

Abierto
#5,748 0 comentarios 0 reacciones 1 asignado Reclamado por @MaciejFrackowiak Ver en GitHub
News
Lenguaje dominante
Sin datos de lenguaje
Estrellas
244
Forks
40
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

W zasobie do zgłaszania sugestii zmian w produkcie udostępniliśmy dzisiaj nowe pole "**notifyViaEmailAfterVerification**", dzięki któremu zdecydujesz, czy chcesz otrzymać powiadomienie email po rozpatrzeniu zgłoszenia.

**Jak to działa obecnie?**

Korzystając z [POST /sale/products/{productId}/change-proposals](https://developer.allegro.pl/documentation/#operation/productChangeProposal), możesz zgłosić sugestie zmiany w produkcie np. nazwy produktu, kategorii, itp. Status zgłoszenia każdorazowo sprawdzisz dzięki [GET /sale/products/change-proposals/{id}](https://developer.allegro.pl/documentation/#operation/getProductChangeProposal).

**Co zmieniliśmy?**

Dodaliśmy nowe pole "**notifyViaEmailAfterVerification**", które pozwoli Ci zdecydować, czy chcesz otrzymać powiadomienie email po rozpatrzeniu zgłoszenia sugestii zmiany w produktach. Domyślną wartością pola jest **false**.

**Przykładowy request:**

```
curl -X POST
'https://api.allegro.pl/sale/products/73b31addsdsd628365/change-proposals' \
-H 'Authorization: Bearer {token}' \
-H 'Accept: application/vnd.allegro.public.v1+json' \
-H 'Content-type: application/vnd.allegro.public.v1+json' \
-d '{
"name": "Harry Potter i kamień filozoficzny J.K. Rowling",
"category": {
"id": "260395"
},
"parameters": [
{

}
],
"images": [
{
"url": "https://a.allegroimg.com/original/003006/1c0782d2bceba"
}
],
"note": "Zdjęcie należy do innej książki",
"notifyViaEmailAfterVerification": true - czy chcesz otrzymać powiadomienie
email po rozpatrzeniu sugestii
}'
```

Więcej informacji znajdziesz w [naszym poradniku](https://developer.allegro.pl/tutorials/jak-powiazac-oferte-z-produktem-BvZjx6exPfD#jak-zglosic-blad-w-produkcie).

-----

Today in the resource for submitting product change suggestions, we have added a new field "**notifyViaEmailAfterVerification**", which allows you to decide whether you want to receive an email notification when your application has been processed.

**How does it work now?**

Using [POST /sale/products/{productId}/change-proposals](https://developer.allegro.pl/documentation/#operation/productChangeProposal) you can submit suggestions for changes to a product, e.g. product name, category, etc. You can check the status of your request with [GET /sale/products/change-proposals/{id}](https://developer.allegro.pl/documentation/#operation/getProductChangeProposal).

**What changes have we made?**

We have added a new field "**notifyViaEmailAfterVerification**", which will allow you to decide if you want to receive an email notification after a product change suggestion request has been processed. The default value of the field is **false**.

**Sample request:**

```
curl -X POST
'https://api.allegro.pl/sale/products/73b31addsdsd628365/change-proposals' \
-H 'Authorization: Bearer {token}' \
-H 'Accept: application/vnd.allegro.public.v1+json' \
-H 'Content-type: application/vnd.allegro.public.v1+json' \
-d '{
"name": "Harry Potter and the Philosopher's Stone J.K. Rowling",
"category": {
"id": "260395"
},
"parameters": [
{

}
],
"images": [
{
"url": "https://a.allegroimg.com/original/003006/1c0782d2bceba"
}
],
"note": "The photo belongs to another book",
"notifyViaEmailAfterVerification": true - whether you would like to receive
an email notification when your
suggestion has been processed
}'
```

You can find more information in [our tutorial](https://developer.allegro.pl/tutorials/assigning-offers-products-3An6WaVWnHO#how-to-report-incorrect-data-in-a-product).

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.