HM - Hennes Mauritz

FREEMIUM
Par Api Dojo | Mise à jour il y a 10 mois | eCommerce
Popularité

9.4 / 10

Latence

4,463ms

Niveau de service

100%

Retour à toutes les discussions

Region codes return '[400]Bad Request'

avatar
i.ho98915@gmail.com
il y a 4 mois

I’m trying to use the country codes from the regions list, but almost all of them return a [400] Bad Request message.

avatar
apidojo commented il y a 4 mois

Hello,

You are calling the …/categories/list endpoint with lang not being supported with country.
Ex :
There is no language “en” listed under country “jp”
{
“name”: “Japan”,
“code”: “jp”,
“languages”: [
{
“name”: “日本語”,
“code”: “ja”
}
]
}

lang must be “ja” in this case.

Regards.

Participez à la discussion - ajoutez un commentaire ci-dessous:

Connectez-vous / Inscrivez-vous pour publier de nouveaux commentaires
Note : 5 - Votes : 1