list_purchase_orders
Retrieve a list of purchase orders from POS to monitor inventory restocking and review purchase history.
Instructions
【用途】 取得 POS 採購單列表,用於了解進貨狀況與採購歷史。
【呼叫的 Shopline API】
GET /v1/pos/purchase_orders
【回傳結構】
total_found: 查詢到的採購單總數
returned: 實際回傳筆數
purchase_orders: 每筆含 id、status、total、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_purchase_orders"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_results | No | 最多回傳筆數 |