HM - Hennes Mauritz

FREEMIUM
Door Api Dojo | Bijgewerkt 10 महीने पहले | eCommerce
Populariteit

9.4 / 10

Latency

4,463ms

Serviceniveau

100%

Terug naar alle discussies

Region codes return '[400]Bad Request'

avatar
i.ho98915@gmail.com
4 महीने पहले

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 4 महीने पहले

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.

Doe mee aan de discussie - voeg hieronder een opmerking toe

Log in / Schrij u in om nieuwe opmerkingen te plaatsen
Beoordeling: 5 - Stemmen: 1