Update Order Delivery Status
NoticeOnly allows orders without third-party delivery integration.
僅適用於非串接第三方物流之訂單
Function
To update order's delivery status
更新訂單運送狀態
After return_order_revamp feature key on/啟用「return_order_revamp」功能後
- 訂單狀態已完成,不可更新運送狀態。
URL
PATCH <<api_domain>>/v1/orders/:id/order_delivery_status
Request Parameters
Parameter | Type | Description | Example |
|---|---|---|---|
id *Required |
| Order's ID | |
status |
| Order Delivery's status
| |
mail_notify |
| Do you want to notify the customer via email with the change?
| |
Response Field
Field | Type | Description | Example |
|---|---|---|---|
order_id |
| Order's ID | 59e97965e388095314000010 |
status |
| Order Delivery's status | arrived |
updated_at |
| Order Last Updated Time | 2018-05-17T11:38:56.473+08:00 |
Response Example
{
"order_id": "59e97965e388095314000010",
"status": "arrived",
"updated_at": "2018-05-17T11:38:56.473+08:00"
}Updated 13 days ago