allegro / allegro/allegro-api

[NEWS] Scalamy parametry i ich wartości / We merge parameters and their values

未關閉
#2,160 7 則留言 2 個 reaction 已指派 1 人 已被 @PrzemyslawLukanowski 認領 在 GitHub 檢視
News
主要語言
沒有語言資料
星號
244
分支
40
PR 合併指標
30 天內沒有已合併 PR

描述

Rozpoczęliśmy proces scalania parametrów i ich wartości w wybranych kategoriach:

- **łączymy parametry** - w przypadku, gdy kategoria zawiera parametry o różnym identyfikatorze, ale o takim samym lub podobnym znaczeniu, scalimy wtedy parametry i połączymy ich wartości. Przykładowo - w kategorii Uroda połączymy parametr Producent z parametrem Marka. W efekcie parametr Marka rozszerzymy o wszystkie wartości parametru Producent, a sam parametr Producent usuniemy.
- **łączymy wartości parametrów** - np. (przykład teoretyczny) w parametrze kolor łączymy wartości: czarny i odcienie czarnego. W efekcie mamy tylko jedną wartość - czarny.

Aktualnie istnieje wiele parametrów i ich wartości przypisanych do kategorii niższego rzędu, które mają podobne lub identyczne znaczenie. Dzięki scaleniu parametrów będziemy mogli je przenieść do kategorii wyższego poziomu i wykorzystać jako filtry - dzięki temu kupującym będzie łatwiej znaleźć interesującą ofertę.

Na przykład - w kategorii **Opony** ujednoliciliśmy dla wszystkich podkategorii identyfikatory parametrów **Średnica**. Wcześniej identyfikatory parametrów były różne w każdej z poniższych podkategorii:

- Do samochodów osobowych,
- Do samochodów 4x4/SUV,
- Do samochodów dostawczych,
- Do samochodów ciężarowych,
- Do motocykli i skuterów,
- Do maszyn rolniczych,
- Do maszyn budowlanych,
- Do quadów.

Identyfikatory parametrów scaliliśmy i ujednoliciliśmy zgodnie z podkategorią **Do samochodów osobowych**. Oznacza to, że dla parametru **Średnica** wspólnym identyfikatorem jest teraz **127088.**

Zmiana nie ma wpływu na podkategorię **Do samochodów osobowych** (ponieważ do tego parametru scaliliśmy pozostałe). W efekcie parametr ma jeden identyfikator i zawiera wartości, które dotychczas były dostępne w każdej z dotychczasowych kategorii.

**Ważne!** Pamiętaj, że parametry aktualizujemy na bieżąco, dlatego aby pobrać najnowsze informacje na ich temat, korzystaj z zasobu [GET /sale/categories/{categoryId}/parameters](https://developer.allegro.pl/documentation/#operation/getFlatParametersUsingGET_2).

Jak zmiana wpłynie na oferty:

- Dane o parametrach w istniejących ofertach automatycznie zaktualizujemy.
- W przypadku, gdy wystawisz ofertę ze starym parametrem i wartością - dane automatycznie zmienimy na aktualne (automatyczną aktualizację będziemy wspierać przez rok od zmiany w parametrach).

-----

We have started the process of merging parameters and their values in selected categories:

- **merging parameters** - in case, when category contains parameters with different id, but with identical or similar meaning, then we will merge these parameters and combine their values. For example - in Beauty category we will merge Manufacturer parameter with Brand parameter. As a result, we will expand Brand parameter by all values of the Manufacturer parameter, and Manufacturer parameter will be deleted.
- **combining parameter values** - e.g. (theoretical example) in color parameter we combine values: black and shades of black. As a result, we have only one value - black.

At present there are many parameters and their values assigned to lower level category, that have similar or identical meaning. By merging parameters, we will be able to move them to higher level category and use these parameters as filters. Owing to this approach buyers will be able to find interesting offer easier.

For example - we unified parameter id for **Diameter** in all subcategories belonging to the **Tires** category. Before change, parameter identifiers were different in each of the following subcategories:

- For passenger cars,
- For 4x4/SUV cars,
- For vans,
- For trucks,
- For motorcycles and scooters,
- For agricultural machines,
- For construction machinery,
- For quads.

Parameter identifiers were merged and unified with the subcategory **For passenger cars**. This means for **Diameter** common parameter identifier is now **127088.**

The change does not affect the **Tires** for passenger cars subcategory (because we merged other parameters to this category). As a result, the parameter have one identifier and contain all values, that were previously available in each of the categories.

**Note!** Remember that parameters are updated on regular basis, therefore to retrieve the latest information about them, use [GET /sale/categories/{categoryId}/parameters](https://developer.allegro.pl/documentation/#operation/getFlatParametersUsingGET_2) resource.

How the change will affect offers:

- We will automatically update parameters in existing offers.
- When you list a new offer using an old parameter and value - we will automatically update the parameter id and values. We will support automatic update for one year after the parameter was changed.

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。