allegro / allegro/allegro-api

[NEWS] 20 lipca 2020 włączymy walidację parametrów zależnych / From July 20th, 2020, we will validate dependent parameters

Aberta
#3,422 0 comentários 0 reações 1 responsável Reivindicada por @PrzemyslawLukanowski 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

Parametry zależne na tę chwilę udostępniliśmy tylko w jednej kategorii - **Klipsy** (123428). Jeśli jako wartość parametru głównego (**Materiał**) wybierzesz:

- “Złoto”, “Złoto białe” lub “Złoto różowe” - będziesz mógł wypełnić parametr “Próba złota”,
- “Srebro”, “Srebro tybetańskie” lub “Srebro pozłacane” - będziesz mógł wypełnić parametr “Próba srebra”.

**20 lipca 2020 włączymy walidację parametrów zależnych.** Oznacza to, że udostępnimy:

- parametr "Próba złota", tylko jeśli dla parametru "Materiał" wybierzesz wartość powiązaną ze złotem,
- parametr "Próba srebra", tylko jeśli dla parametru "Materiał" wybierzesz wartość powiązaną ze srebrem,
- oba parametry, jeśli wybierzesz wartości powiązane zarówno ze złotem, jak i srebrem,
- żaden z tych parametrów, jeśli "Materiał" nie jest powiązany ani ze złotem, ani ze srebrem.

W przypadku, gdy wybierzesz błędny parametr zależny, zwrócimy stosowny błąd, przykładowo:

` “Parametr zależny Próba złota nie może przyjąć wartości [999], gdy parametr Materiał ma wartości [Szkło, Stal]."`

Więcej informacji o parametrach zależnych znajdziesz w [naszym komunikacie](https://developer.allegro.pl/news/#dependent-parameters).

-----

Dependent parameters are currently available only in one Category - **Ear Clips** (123428). If you select the value of the main parameter (**Material**):

- “Gold”, “Pink Gold” or “White Gold” - you will be able to provide value for “Gold Hallmark” parameter,
- “Silver”, “Tibetan Silver” or “Silver-gilt” - you will be able to provide value for “Silver Hallmark” parameter,

**From July 20th, 2020, we will validate dependent parameters.** It means that you will be able to choose:

- “Gold Hallmark” parameter, only if you select the value associated with gold for the "Material" parameter,
- “Silver Hallmark” parameter, only if you select the value associated with silver for the "Material" parameter,
- both parameters, if you choose values associated with gold and silver,
- none of these parameters if "Material" is not associated with either gold or silver.

If you choose an invalid dependent parameter, we will return an appropriate error, for example:

`“Dependent parameter 206646 cannot take values [999] when parameter 15835 has values [Glass, Steel].”`

You can find more information about dependent parameters in [our news](https://developer.allegro.pl/en/news/#dependent-parameters).

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.