allegro / allegro/allegro-api

[NEWS] Kategorie podobne - wystaw ofertę w łatwiejszy sposób / Similar categories - list your offer easier

Offen
#4,844 0 Kommentare 0 Reaktionen 1 zugewiesene Person Beansprucht von @AureliuszBrussy Auf GitHub ansehen
News
Vorherrschende Sprache
Keine Sprachdaten
Sterne
244
Forks
40
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

W przypadku gdy produkt pasuje do wielu podobnych do siebie kategorii, możesz wystawić ofertę powiązaną z tym produktem w innej, zdefiniowanej przez nas podobnej kategorii. Więcej o wystawianiu produktów w kategoriach podobnych przeczytasz w [naszym newsie](https://developer.allegro.pl/news/#similar_categories).

Wprowadziliśmy zmianę ułatwiającą wystawienie oferty w kategorii podobnej w przypadku gdy:
- w żądaniu nie wskażesz konkretnego produkt w polu **productSet[].product.id**,
- na podstawie przesłanych parametrów dopasowaliśmy produkt istniejący w naszym Katalogu Produktów.

**Jak działało to dotychczas?**

Aby wystawić ofertę w kategorii podobnej, konieczne było jej wskazanie w ofertowej części struktury żądania, w polu **category.id**.

**Jaką zmianę wprowadziliśmy?**

Aktualnie możesz wskazać kategorię ze zbioru kategorii podobnych także w produktowej części żądania, w polu **productSet[].product.category.id**:

**Przykładowa struktura requestu:**

```
{
“productSet”: [{
“product”:
{
“name”: “Sample product”,
“category”:
{
“id”: “99499”
},

}],

}
```

**Uwaga!** Jeżeli wskażesz w żądaniu konkretny produkt w polu **productSet[].product.id**, to aby wystawić go w jednej z kategorii podobnych - tak jak dotychczas musisz przekazać tą kategorię w części ofertowej struktury żądania, w polu **category.id**.

**Dlaczego wprowadziliśmy zmianę?**

Zmianę wprowadziliśmy na podstawie obserwacji użycia zasobów do wystawiania ofert powiązanych z produktem. Chcemy ułatwić wystawianie ofert w kategoriach podobnych.

Więcej informacji o tym, jak wystawić ofertę powiązaną z produktem w kategorii podobnej znajdziesz w [naszym poradniku](https://developer.allegro.pl/product_offers/#jak-wystawi%c4%87-ofert%c4%99-w-kategorii-podobnej).

----------

When the product fits into a few similar categories, you can list an offer assigned to this product, but in another, similar category defined by us. You can read more about listing products in similar categories in [our news](https://developer.allegro.pl/en/news/#similar_categories).

We have introduced a change that makes it easier to list an offer in a similar category if:
- you do not indicate a specific product in the request in the **productSet[].product.id** field,
- based on the parameters sent in request, we matched a product that exists in our Product Catalog.

**How has it worked so far?**

To list in a similar category, it was necessary to indicate the category in the offer part of the request structure, in the **category.id** field.

**What change have we made?**

Currently, you can also indicate a category from a set of similar categories in the product part of the request, in the **productSet[].product.category.id** field:

**Sample request structure:**

```
{
“productSet”: [{
“product”:
{
“name”: “Sample product”,
“category”:
{
“id”: “99499”
},

}],

}
```

**Note!** If you indicate a specific product in the request in the **productSet[].product.id** field, then in order to list an offer in one of the similar categories - as before - you must pass this category in the offer part of the request structure, in the **category.id** field.

**Why have we made the change?**

We made the change based on observations of resource usage for listing offers related to a product. We want to make it easier to list offers in similar categories.

For more information on how to list an offer assigned to a product in a similar category, check out [our guide](https://developer.allegro.pl/en/product_offers/#how-to-list-an-offer-in-a-similar-category).

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.