HM - Hennes Mauritz

FREEMIUM
Par Api Dojo | Mise à jour 5 days ago | eCommerce
Popularité

9.7 / 10

Latence

2,012ms

Niveau de service

100%

Health Check

N/A

Retour à toutes les discussions

Region codes return '[400]Bad Request'

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

Rapid account: Apidojo
apidojo Commented 3 years ago

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