get_category_detail
Retrieve complete details of a specific product category by ID, including name, parent, SEO description, status, and image URL. Ideal for fetching full category information when you already know the category ID.
Instructions
取得單一商品分類的完整詳情。
【用途】 查詢特定分類的名稱、描述、父分類等完整資訊。 適合在已知分類 ID 的情況下取得詳細欄位。
【呼叫的 Shopline API】
GET /v1/categories/{category_id}
【回傳結構】 dict 包含 id, name, parent_id, seo_description, status, priority, image_url。 註:Shopline 分類無一般說明欄位,seo_description 來自 seo_description_translations。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| category_id | Yes | 分類 ID(由 get_category_tree 回傳的 id 欄位) |