get_customer_group_members
Fetches customer group member IDs, but always returns an error because the Shopline Open API does not support group membership queries, preventing incorrect all-customer responses.
Instructions
取得指定客戶群組中的所有客戶 ID 列表。
【重要限制】 Shopline Open API v1 目前並未提供查詢群組成員的方式:
/v1/customer_groups/{group_id}/customers 回 404(端點不存在)
/v1/customers?customer_group_id=... 等篩選參數會被 API 忽略, 回傳的是「全店客戶」而非群組成員。
因此本 tool 一律回傳明確錯誤,而不是回傳會被誤認為群組成員的全店名單。 如需群組名單,請由 Shopline 後台匯出。
【回傳結構】 dict 含 error, group_id, supported_alternative。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| group_id | Yes | 客戶群組 ID(由 list_customer_groups 回傳) |