list_customers
Search and retrieve a list of customers by name, email, or phone. Returns customer IDs, names, emails, phones, tags, and creation dates.
Instructions
取得客戶列表,支援依關鍵字搜尋客戶。
【用途】 查詢特定客戶或瀏覽客戶清單。可用姓名、email、電話搜尋。 若要取得單一客戶的完整資訊(含儲值金、點數、等級),請改用 get_customer_profile。
【呼叫的 Shopline API】
GET /v1/customers(無搜尋條件時)
GET /v1/customers/search(有搜尋條件時)
【回傳結構】 dict 含 total_found, returned, customers[]。 每個 customer 包含 id, name, email, phone, tags, created_at。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| search_keyword | No | 搜尋關鍵字(姓名、email、電話) | |
| max_results | No | 最多回傳筆數 |