allegro / allegro/allegro-api

[NEWS] Nisze asortymentowe - nowy zasób, dzięki któremu sprawdzisz, jakich produktów brakuje na Allegro / Selection insights - a new resource to check which products are missing on Allegro

Aperta
#7,116 2 commenti 0 reazioni 1 assegnatario Rivendicata da @AureliuszBrussy Vedi su GitHub
News
Lingua principale
Nessun dato sulla lingua
Stelle
244
Fork
40
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

**Nisze asortymentowe** to nowy raport, dzięki któremu sprawdzisz, jakich produktów obecnie brakuje w asortymencie Allegro. Udostępniając go, chcemy ułatwić sprzedającym poszerzenie asortymentu o nowe produkty, które mogą być interesujące dla kupujących.

Zasób aktualnie udostępniamy w wersji beta, dlatego, aby z niego skorzystać, przekaż wartość "*application/vnd.allegro.beta.v1+json*" w nagłówku *Accept*.

**Jak pobrać raport?**

Aby pobrać raport, skorzystaj z [GET /sale/selection-insights](https://developer.allegro.pl/documentation#operation/getSaleSelectionInsights).

**Przykładowy request:**
```
curl -X GET \
'https://api.allegro.pl/sale/selection-insights' \
-H 'Authorization: Bearer {token}' \
-H 'Accept: application/vnd.allegro.beta.v1+json'
```
>

**Przykładowy response:**
```
{
"products": [
{
"category": {
"id": "82774" – id kategorii produktu
},
"name": "Koń na biegunach", – nazwa produktu
"referenceId": "1c562e3f-1caf-498f-a218-6e26d0afe470",
– unikalne id wpisu
"productIds": [
– lista z id produktów w
Katalogu produktów Allegro
"527db560-1213-4310-9af2-544f6da0cca9"
],
"gtins": [ – lista z GTIN produktu
"5901761123982"
],
"manufacturerCode": "2193", – kod producenta
"brands": [ – marka
"Milly Mally"
],
"model": "GXP-709093" – model
},
{
...
},
],
"reportDate": "2023-05-19", – data wygenerowania raportu
"count": 100, – liczba produktów zwróconych w
aktualnym zapytaniu
"totalCount": 50224 – całkowita liczba pasujących
produktów dla użytych filtrów
}
```
>

Każdy sprzedający ma dostęp do tego samego raportu. Na pierwszych pozycjach raportu zwrócimy produkty najbardziej pasujące do bieżącej oferty sprzedającego, dalsze pozycje wyświetlane są w kolejności losowej.

Raport jest aktualizowany raz dziennie (dane za dzień poprzedni) i bazuje wyłącznie na ofertach połączonych z[ Katalogiem Produktów](https://allegro.pl/dla-sprzedajacych/asortyment/katalog-produktow-allegro).

Więcej o nowym zasobie przeczytasz w [naszym poradniku](https://developer.allegro.pl/tutorials/jak-zarzadzac-ofertami-7GzB2L37ase#nisze-asortymentowe).

------

**Selection insights** is a report that allows you to see which products are currently missing in Allegro's assortment. By making it available, we want to make it easier for sellers to expand their assortment with new products that may be of interest to buyers.

The resource is currently released in beta, so to use it, pass the value *"application/vnd.allegro.beta.v1+json"* in the *Accept* header.

**How to get the report?**

Use [GET /sale/selection-insights](https://developer.allegro.pl/documentation#operation/getSaleSelectionInsights).

**Sample request:**
```
curl -X GET \
'https://api.allegro.pl/sale/selection-insights' \
-H 'Authorization: Bearer {token}' \
-H 'Accept: application/vnd.allegro.beta.v1+json'
```
>

**Sample response:**
```
{
"products": [
{
"category": {
"id": "82774" – product category id
},
"name": "Koń na biegunach", – product name
"referenceId": "1c562e3f-1caf-498f-a218-6e26d0afe470",
– unique record id
"productIds": [
– array with product id from the
Allegro Product Catalog
"527db560-1213-4310-9af2-544f6da0cca9"
],
"gtins": [ – array with product GTINs
"5901761123982"
],
"manufacturerCode": "2193", – manufacturer code
"brands": [ – brand
"Milly Mally"
],
"model": "GXP-709093" – model
},
{
...
},
],
"reportDate": "2023-05-19", – date the report was generated
"count": 100, – number of products returned in the
current query
"totalCount": 50224 – total number of matching products
for the used filters
}
```
>

Each seller has access to the same report. The first items in the report will return the products that most closely match the seller's current offer, further items are displayed in random order.

The report is updated once a day (data for the previous day) and is based solely on offers linked to the [Product Catalog](https://allegro.pl/dla-sprzedajacych/asortyment/katalog-produktow-allegro).

You can read more about the new resource in [our guide](https://developer.allegro.pl/tutorials/how-to-process-list-of-offers-m09BKA5v8H3#selection-insights).

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.