list_store_credits
Retrieve a list of all customers' store credit balances. Use it to review credit issuance and usage, calculate liabilities, and identify high-balance customers.
Instructions
取得所有客戶的儲值金餘額列表。
【用途】 瀏覽客戶儲值金餘額概況,了解儲值金發放與使用狀況。 可用於計算儲值金負債、找出高餘額客戶。
【呼叫的 Shopline API】
GET /v1/user_credits
【回傳結構】 dict 含 total_found, returned, total_balance, credits[]。 每個 credit 包含 customer_id, balance (TWD float)。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_results | No | 最多回傳筆數 |