Get Default Store
Description
取得會員的預設門市。
Resource
GET /v1/default_store
Authorization
採用 OAuth 2.0 Bearer Token,詳細使用流程請參考 Auth Login。
Response
{
"id": "001",
"name": "台南安平店",
"type": "REGULAR_CHAIN",
"phone": "061234567",
"fax": "069876543",
"profile": "<p>門市介紹的內容HTML格式</p>",
"business_hours": "09:00~21:00",
"location": {
"address": "台南市安平區健康三街999號",
"zip": "708",
"latitude": 22.9999999,
"longitude": 120.9999999
},
"support_phone": "069764310",
"purchase_type": [
"RESTAURANT"
]
}
Response Body Parameters
| Name | Type | Description |
|---|---|---|
| id | string | 門市代碼 |
| name | string | 門市名稱 |
| type | string (enum) |
門市類型 ALLOWED VALUES:
|
| phone | string | 電話 |
| fax | string | 傳真 |
| profile | string | 門市介紹 (HTML格式) |
| business_hours | string | 營業時間 |
| location | Location | 地理資訊 |
| support_phone | string | 支援電話 |
| purchase_type | list | 購買類型 ALLOWED VALUES:
|
Response Body Parameters - Location
| Name | Type | Description |
|---|---|---|
| address | string | 地址 |
| zip_code | string | 郵遞區號 |
| latitude | string | 緯度 |
| longitude | string | 經度 |