商品カテゴリ
概要
商品カテゴリリストを取得します。
エンドポイント
json
POST /product/v1/categoryInfoリクエストボディ
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
lang | string | いいえ | 言語設定, 英語(デフォルト): EN_US, 中国語: ZH_CN |
リクエスト例
bash
curl 'https://openapi.fastmoss.com/product/v1/categoryInfo' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer xxxxxxxxxx' \
--data '{"lang": "EN_US"}'レスポンス例
json
{
"code":0,
"msg":"success",
"data":[
{
"c_code": "10",
"c_name": "Home Supplies",
"sub": [
{
"c_code": "852488",
"c_name": "Festive & Party Supplies",
"sub": [
{
"c_code": "600009",
"c_name": "Festive Decorations",
}
]
}
]
}
]