HM - Hennes Mauritz

免费增值
通过 Api Dojo | 已更新 4 days ago | eCommerce
人气

9.7 / 10

延迟

2,059ms

服务等级

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 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.

加入讨论 - 在下面添加评论:

登录/注册以发布新的评论