Update Order Payment Status
Function
To update order's payment status
更新訂單付款狀態
URL
PATCH <<api_domain>>/v1/orders/:id/order_payment_status
Request Parameters
Parameter | Type | Description | Example |
|---|---|---|---|
id *Required |
| Order's ID | |
status |
| Order Payment 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 Payment Status | completed |
updated_at |
| Order Last Updated Time | 2017-10-20T12:19:50.196+08:00 |
Response Example
{
"order_id": "59e97965e388095314000010",
"status": "completed",
"updated_at": "2017-10-20T12:19:50.196+08:00"
}Updated 1 day ago