Get Order Status
Description
取得訂單狀態。
Resource
GET /v1/order/{order_id}/status
Authorization
採用 OAuth 2.0 Bearer Token,詳細使用流程請參考 Auth Login。
Path Parameters
| Name | Type | Description |
|---|---|---|
| order_id | string | 訂單編號 |
Query Parameters
| Name | Type | Description |
|---|---|---|
| store_id | string | 門市編號 |
| is_external_platform | boolean | 是否查詢外部平台狀態 ALLOWED VALUES:
(optional, default: false) |
Request Example
GET /v1/order/00003025100200001/status?store_id=000030&is_external_platform=false
Response Body Parameters
| Name | Type | Description |
|---|---|---|
| status | string | 訂單狀態碼 ALLOWED VALUES:
|
| order_type | string | 訂單型態 ALLOWED VALUES:
|
Response Example
{
"status": "2",
"order_type": "external"
}