v1

latestOpenAPI 3.0.02026-07-26318168886.7 KB
Orders

Bulk Execute Shipment

To bulk update the order delivery status. Note that any update failure will be ignored. <br> 批量更新訂單送貨狀態。注意任何更新錯誤會被忽略。 <br> We support order with following delivery service: 7-11 Cross Border, FMT Freeze, Tcat.<br> 目前支援以下物流:7-11 跨境、全家冷凍、黑貓宅配<br> * Currently, this endpoint only support updating orders delivery status with same status.<br> * 現階段只支持批量更新相同的訂單送貨狀態。<br>

patch/orders/execute_shipment

Request body

orderIdsstring[]

Example request

{
  "orderIds": [
    "622983fc1a36af2dc311bc06"
  ]
}

Response

OK

processingOrderIdsstring[]

Processing order<br>處理中訂單

processingFailedOrderIdsstring[]

Processing failed order<br>處理失敗訂單

statusErrorOrderIdsstring[]

Order status is not allowed<br>狀態無法執行出貨訂單

platformNotSupportOrderIdsstring[]

Order Delivery Platform is not supported<br>物流平台不支援批次執行出貨

notFoundOrderIdsstring[]

Order not found<br>找不到的訂單 id

Example response

{
  "processingOrderIds": [
    "6225c6959c22640043e387a5"
  ],
  "processingFailedOrderIds": [
    "6225c6959c22640043e387a5"
  ],
  "statusErrorOrderIds": [
    "6225c6959c22640043e387a5"
  ],
  "platformNotSupportOrderIds": [
    "6225c6959c22640043e387a5"
  ],
  "notFoundOrderIds": [
    "6225c6959c22640043e387a5"
  ]
}