HM - Hennes Mauritz

フリーミアム
よって Api Dojo | 更新済み 4日前 | eCommerce
人気

9.7 / 10

レイテンシー

2,095ms

サービスレベル

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.

ディスカッションに参加しましょう-以下にコメントを追加してください:

ログイン/サインアップして新しいコメントを投稿