get_flash_price_campaign_detail
Retrieve complete details of a flash price campaign, including discount rules, applicable products, and time settings, using the campaign ID.
Instructions
取得單一快閃價格活動的完整詳情。
【用途】 查詢特定快閃特賣活動的折扣規則、適用商品與時間設定等完整資訊。 適合在已知 campaign_id 的情況下取得所有欄位。
【呼叫的 Shopline API】
GET /v1/flash_price_campaigns/{campaign_id}
【回傳結構】 dict 包含 id, title, status, discount_type, discount_value, products, start_at, end_at, created_at, updated_at 等完整欄位。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"campaign_id": "<campaign_id>"
},
"name": "get_flash_price_campaign_detail"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| campaign_id | Yes | 快閃價格活動 ID(由 list_flash_price_campaigns 回傳的 id 欄位) |