HM - Hennes Mauritz

FREEMIUM
(Ким) Api Dojo | Оновлено 8일 전 | eCommerce
Популярність

9.7 / 10

Затримки

2,124ms

Рівень обслуговування

100%

Health Check

N/A

Повернутися до всіх обговорень

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년 전

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.

Приєднуйтесь до обговорення — додайте повідомлення нижче:

Вхід / Реєстрація, щоб публікувати нові повідомлення