get_order_action_logs
Retrieve complete history of order operations including status changes, operator details, and timestamps for audit and tracking purposes.
Instructions
【用途】取得指定訂單的所有操作歷程紀錄,包含狀態變更、人員操作、時間戳記等,適合稽核追蹤。
【呼叫的 Shopline API】
GET /v1/orders/{order_id}/action-logs
【回傳結構】 { "order_id": str, # 查詢的訂單 ID "total": int, # 歷程總筆數 "logs": [ # 操作歷程列表 { "action": str, # 操作類型(如 status_changed, payment_updated) "operator": str, # 操作人員 "created_at": str, # 操作時間 ... # 其他欄位依 API 回應而定 } ] }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order_id | Yes | 訂單內部 ID(由 query_orders 回傳的 id 欄位,非 order_number) |