メインコンテンツまでスキップ

GET /v1/items/{id}/categories

scope

read_items

リクエストパラメーター

名前位置必須説明
idパスinteger任意

レスポンスの例

{
"data": [
{
"id": "1",
"parent_id": "string",
"name": "string",
"status": "active",
"sort": 0
}
]
}

解説

指定商品が属するカテゴリを配列で返します。

エラーレスポンスの例

{
"error": {
"code": "insufficient_scope",
"message": "requires scope 'read_orders'",
"request_id": "req_01H..."
}
}

返しうるエラー: 401 / 403 / 404