bulk_execute_shipment
Batch mark multiple orders as shipped using a single API call. Improves warehouse efficiency for daily bulk shipments.
Instructions
[WRITE] 批次執行多訂單出貨。
【用途】 一次性將多筆訂單標記為已出貨,提升倉庫作業效率,適用於每日批量出貨場景。
【呼叫的 Shopline API】
POST /v1/orders/shipment/bulk
【回傳結構】 dict 含 success: bool, resource_id: str, message: str, order_ids: list。
【副作用】
所有指定訂單的出貨狀態批次更新為已出貨
部分訂單若無法出貨,API 可能整批失敗或回傳各別結果(取決於 Shopline 實作)
可能觸發多封客戶出貨通知
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order_ids | Yes | 訂單 ID 列表,批次出貨 |