list_customers
Retrieve a paginated list of customers from your Shopline store. Search by name, email, or phone to find specific customers.
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。
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_customers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_results | No | 最多回傳筆數 | |
| search_keyword | No | 搜尋關鍵字(姓名、email、電話) |