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

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

説明

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

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

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

評価

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

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

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