allegro / allegro/allegro-api

[NEWS] Zmieniamy maksymalną długość parametru GTIN / We are changing the maximum length of the GTIN parameter

Aperta
#3,928 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

**18 stycznia 2021** roku zmienimy maksymalną długość parametrów GTIN z dotychczasowych **18** na **14** znaków.

W zależności od kategorii, zmiana będzie dotyczyć parametrów:

- EAN (id parametru=225693),
- ISBN (id parametru=245669),
- ISSN (id parametru=245673).

Gdy skorzystasz z [GET /sale/categories/{categoryId}/parameters](https://developer.allegro.pl/documentation/#operation/getFlatParametersUsingGET_2) i [GET /sale/categories/{categoryId}/product-parameters](https://developer.allegro.pl/documentation/#operation/getFlatProductParametersUsingGET), dla każdego z parametrów GTIN zwrócimy inną niż dotychczas informację w polu **restrictions.maxLength**:

```
{
...
"restrictions": {
"minLength": 8,
"maxLength": 14,
...
}

}
```

Dzięki tej zmianie uspójnimy maksymalną i rzeczywiście walidowaną przez nas długość parametru GTIN. Dopuszczalna długość GTIN to 8, 10, 12, 13 lub 14 znaków.

-----

**On January 18th, 2021**, we will change the maximum length of GTIN parameters from the current **18** to **14** characters.

Depending on the category, the changes will affect the parameters:

- EAN (parameter id=225693),
- ISBN (parameter id=245669),
- ISSN (parameter id=245673).

When you use [GET /sale/categories/{categoryId}/parameters](https://developer.allegro.pl/en/documentation/#operation/getFlatParametersUsingGET_2) and [GET /sale/categories/{categoryId}/product-parameters](https://developer.allegro.pl/en/documentation/#operation/getFlatProductParametersUsingGET), we will return different information in the **restrictions.maxLength** field for each of the GTIN parameters:

```
{
...
"restrictions": {
"minLength": 8,
"maxLength": 14,
...
}

}
```

Thanks to this change, we will coherent the maximum and actually verified length of the GTIN parameter. The acceptable GTIN length is 8, 10, 12, 13, or 14 characters.

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.