Skip to content

Get Delivery Orders

Description

取得外送單列表。

Resource

GET /v1/order/delivery

Authorization

採用 OAuth 2.0 Bearer Token,詳細使用流程請參考 Auth Login

Query Parameters

Name Type Description
store_id string 門市代碼
worder_id string 訂單編號

Response

{
  "delivery": [
    {
      "id": "0000302510200000146ABYY",
      "status": "ST03",
      "remark": null,
      "platform": "UBEREAT",
      "driver_data": "運送小雞; 09524XXXXX",
      "delivery_fee": 105
    },
    {
      "id": "0000302510200000146OHVT",
      "status": "ST01",
      "remark": null,
      "platform": "沒有資料",
      "driver_data": "沒有資料",
      "delivery_fee": 95
    },
    {
      "id": "000030251020000019G142G",
      "status": "ST01",
      "remark": null,
      "platform": "沒有資料",
      "driver_data": "沒有資料",
      "delivery_fee": 95
    },
    {
      "id": "00003025102000001IMQ2E4",
      "status": "ST01",
      "remark": null,
      "platform": "沒有資料",
      "driver_data": "沒有資料",
      "delivery_fee": 95
    }
  ]
}

Response Body Parameters

Name Type Description
delivery Delivery[] 配送資訊

Response Body Parameters - Delivery

Name Type Description
id string 配送編號
status string 配送狀態 (狀態)
remark string 備註
platform string 平台
driver_data string 司機資訊
delivery_fee int 運費

Available Statuses

Status Description
ST01 成立託運單
ST02 運輸公司接單
ST022 司機接單
ST024 取消訂單
ST025 抵達取貨地
ST03 取貨完成
ST035 抵達卸貨地
ST04 貨品送達
ST05 取消託運單