Get Group Status
Description
取得團主訂單狀態。 此 API 用於取得指定的團長訂單狀態 (開團中、已鎖定、已關團)。
Resource
GET /v1/order/group/{group_order_id}/status
Authorization
採用 OAuth 2.0 Bearer Token,需帶入會員 Token (acckey) 以識別會員身分。
詳細使用流程請參考 Auth Login。
Path Parameters
| Name | Type | Description |
|---|---|---|
| group_order_id | string | 團主訂單編號 |
Request Body Parameters
無
Response Body Parameters
| Name | Type | Description |
|---|---|---|
| id | string | 團主訂單編號 |
| status | string | 訂單狀態名稱 (OPEN, LOCKED, CLOSED) |
Response
{
"id": "A012501090001",
"status": "OPEN"
}
Notes
- 若查無此團購訂單,將回傳相關錯誤訊息。
- 只有當作團主訂單存在的才可取得狀態。