list_channels
Lists all active sales channels for a store, including online store, POS, and social media platforms. Useful for understanding multi-channel sales layout before performance analysis.
Instructions
取得商店所有銷售渠道清單。
【用途】 查看商店目前開啟的銷售渠道,例如線上商店、POS、 Facebook、Instagram 等。適合了解多渠道銷售佈局, 或做渠道業績分析前的渠道資料確認。
注意:此端點在部分 token 權限下可能回傳 403 或 422, 渠道資訊亦可從訂單的 channel.created_by_channel_name 欄位取得。
【呼叫的 Shopline API】
GET /v1/channels
【回傳結構】 dict 含 total, channels[]。 每個 channel 包含 id, name, channel_type, enabled, created_at 等。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||