Update Order Status
Function
To update order status
更新訂單狀態
URL
PATCH <<api_domain>>/v1/orders/:id/status
Request Parameters
Parameter | Type | Description | Example |
---|---|---|---|
id *Required | String | Order's ID 訂單ID | ruby 5d8c8b3be388095d25acbc89 |
status *Required | String | Order's Status 訂單狀態 - Status allows: temp 暫存狀態 pending 處理中 removed 已刪除 confirmed 已確認 completed 已完成 cancelled 已取消 | ruby "status": "shipping" |
mail_notify | Boolean | Do you want to notify the customer via email with the change? 此更新是否要以email通知顧客? (Default: false) | ruby "mail_notify":true |
Response Field
Response Example
Updated almost 5 years ago