HM - Hennes Mauritz

免费增值
通过 Api Dojo | 已更新 לפני 10 חודשים | eCommerce
人气

9.4 / 10

延迟

4,463ms

服务等级

100%

返回所有讨论

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.

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

登录/注册以发布新的评论
打分:5 - 投票:1