get_archived_orders
Retrieve a list of archived historical orders by specifying a date range. Returns order details including status, payment, delivery, and customer info for long-term records management.
Instructions
【用途】查詢已封存(archived)的歷史訂單列表,適合調閱長期歸檔的舊訂單資料。
【呼叫的 Shopline API】
GET /v1/orders/archived
【回傳結構】 { "total_found": int, # 符合條件的總筆數 "returned": int, # 實際回傳筆數 "orders": [ # 精簡訂單列表 { "id": str, "order_number": str, "status": str, "channel": str, # "POS" 或 "線上" "store_name": str, "total": float, "subtotal": float, "discount": float, "payment_type": str, "payment_status": str, "delivery_type": str, "delivery_status": str, "customer_name": str, "items_count": int, "created_at": str, } ] }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| start_date | Yes | 起始日期 YYYY-MM-DD | |
| end_date | Yes | 結束日期 YYYY-MM-DD | |
| max_results | No | 最多回傳筆數 |