allegro / allegro/allegro-api

[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

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

Descrição

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

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.