get_customer_group_members
Retrieves a list of customer IDs belonging to a specified customer group. Use with get_customer_profile to get detailed customer info.
Instructions
取得指定客戶群組中的所有客戶 ID 列表。
【用途】 查詢特定群組包含哪些客戶。回傳客戶 ID 列表,可搭配 get_customer_profile 取得個別客戶詳情。
【呼叫的 Shopline API】
GET /v1/customer-groups/{group_id}/customers
【回傳結構】 dict 含 group_id, total_members, customer_ids[]。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| group_id | Yes | 客戶群組 ID(由 list_customer_groups 回傳) |