get_promotion_detail
Retrieve complete promotion details including discount rules, applicable products, and usage restrictions by providing a promotion ID. Get all fields for a specific promotion.
Instructions
取得單一促銷活動的完整詳情。
【用途】 查詢特定促銷活動的折扣規則、適用商品、使用限制等完整資訊。 適合在已知 promotion_id 的情況下取得所有欄位。
【呼叫的 Shopline API】
GET /v1/promotions/{promotion_id}
【回傳結構】 dict 包含 id, title, status, discount_type, discount_value, target_type, conditions, start_at, end_at, created_at, updated_at 等完整欄位。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| promotion_id | Yes | 促銷活動 ID(由 list_promotions 或 search_promotions 回傳的 id 欄位) |