Get Head Office
Description
取得門市總店。
Resource
GET /v1/basic/head_office
Authorization
採用 OAuth 2.0 Bearer Token,詳細使用流程請參考 Auth Login。
Response
{
"id": "TWNe02",
"name": "軒饌內湖店",
"type": "VOLUNTARY_CHAIN",
"phone": "",
"fax": "",
"profile": null,
"business_hours": "",
"location": {
"address": "",
"zip_code": "",
"latitude": null,
"longitude": null
},
"support_phone": null,
"purchase_type": []
}
Response Body Parameters
| Name | Type | Description |
|---|---|---|
| id | string | 店號 |
| name | string | 店名 |
| type | string | VOLUNTARY_CHAIN:總店; REGULAR_CHAIN:直營店 |
| phone | string | 手機 |
| fax | string | 傳真 |
| profile | string | 內容(HTML格式) |
| business_hours | string | 營業時間 |
| location | location | 位置 |
| support_phone | string | 連絡電話 |
| purchase_type | string | 營業項目 |
Response Body Parameters - location
| Name | Type | Description |
|---|---|---|
| address | string | 地址 |
| zip_code | string | 郵遞區號 |
| latitude | string | 緯度 |
| longitude | string | 經度 |