[NEWS] Udostępniliśmy nowy zasób, dzięki któremu sprawdzisz zmiany w parametrach produktów / We have introduced a new resource, where you can check the changes in product parameters
- 主要言語
- 言語のデータがありません
- スター
- 244
- フォーク
- 40
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
Udostępniliśmy nowy zasób [/sale/product-changes](https://developer.allegro.pl/documentation#operation/getProductChanges), dzięki któremu pobierzesz listę zmian w parametrach podstawowych we wskazanych przez Ciebie produktach. Parametry podstawowe identyfikują produkt i nie zmienisz ich podczas wystawiania i edycji oferty.
**Dlaczego udostępniliśmy nowy zasób?**
Chcemy usprawnić proces zarządzania ofertami z przypisanymi produktami oraz ułatwić identyfikację błędów w parametrach podczas wystawiania ofert.
**Ważne!** W jednym żądaniu możesz przekazać maksymalnie 100 identyfikatorów produktów.
**Przykładowy request:**
```
curl -X GET \
'https://api.allegro.pl/sale/product-changes?product.id=29e661c6-e7b5-4c0e-9707-79854a5d5b5c,
09cbf1ce-c836-4761-ba34-25e334c07300&from=2022-05-21T11:18:06.715Z&to=2022-06-20T11:18:06.715Z' \
-H 'Authorization: Bearer {token}' \
-H 'Accept: application/vnd.allegro.public.v1+json'
```
**Przykładowy response:**
```
{
"productChanges": [
{
"product": {
"id": "29e661c6-e7b5-4c0e-9707-79854a5d5b5c" - identyfikator produktu
},
"changedParameters": [ - zmienione parametry
{
"id": "237206", - identyfikator parametru, w którym zmieniliśmy
wartość
"updatedAt": "2022-06-17T08:20:53.490Z" - data zmiany parametru
}
]
},
{
"product": {
"id": "09cbf1ce-c836-4761-ba34-25e334c07300"
},
"changedParameters": [
{
"id": "237206",
"updatedAt": "2022-06-17T08:16:11.508Z"
}
]
}
]
}
```
Więcej informacji o pobieraniu zmian w produktach znajdziesz w [naszym poradniku](https://developer.allegro.pl/tutorials/jak-powiazac-oferte-z-produktem-BvZjx6exPfD#jak-sprawdzic-zmiany-parametrow-w-produktach).
-------
We have introduced a new resource [/sale/product-changes](https://developer.allegro.pl/documentation#operation/getProductChanges), thanks to which you will retrieve a list of changes in basic parameters in the products you indicate. Basic parameters identify the products and you will not change them when listing and editing the offer.
**Why did we introduce a new resource?**
We want to improve the process of managing the offers with assigned products and to facilitate the identification of errors in the parameters when listing the offers.
**Note!** You can provide up to 100 product IDs in one request.
**Sample request:**
```
curl -X GET \
'https://api.allegro.pl/sale/product-changes?product.id=29e661c6-e7b5-4c0e-9707-79854a5d5b5c,
09cbf1ce-c836-4761-ba34-25e334c07300&from=2022-05-21T11:18:06.715Z&to=2022-06-20T11:18:06.715Z' \
-H 'Authorization: Bearer {token}' \
-H 'Accept: application/vnd.allegro.public.v1+json'
```
**Sample response:**
```
{
"productChanges": [
{
"product": {
"id": "29e661c6-e7b5-4c0e-9707-79854a5d5b5c" - product identifier
},
"changedParameters": [ - changed parameters
{
"id": "237206", - the identifier of the parameter, where we
changed value
"updatedAt": "2022-06-17T08:20:53.490Z" - date of the parameter’s change
}
]
},
{
"product": {
"id": "09cbf1ce-c836-4761-ba34-25e334c07300"
},
"changedParameters": [
{
"id": "237206",
"updatedAt": "2022-06-17T08:16:11.508Z"
}
]
}
]
}
```
More information about retrieving a list of changes in the products you will find in [our guide](https://developer.allegro.pl/tutorials/jak-powiazac-oferte-z-produktem-BvZjx6exPfD#jak-sprawdzic-zmiany-parametrow-w-produktach).
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
評価
この issue はまだ評価されていません。