Get Store
Description
取得門市資訊。
Resource
GET /v1/store/{store_id}
Authorization
採用 OAuth 2.0 Bearer Token,詳細使用流程請參考 Auth Login。
Path Parameters
| Name | Type | Description |
|---|---|---|
| store_id | string | 門市代碼 |
| language | string (enum) |
語系 ALLOWED VALUES:
|
Request Example
GET /v1/store/1101
Response Body Parameters
| Name | Type | Description |
|---|---|---|
| id | string | 門市代碼 |
| name | string | 門市名稱 |
| translate_name | string | 門市翻譯名稱 |
| type | string (enum) |
門市類型 ALLOWED VALUES:
|
| phone | string | 電話 |
| fax | string | 傳真 |
| profile | string | 門市介紹 (HTML格式) |
| business_hours | string | 營業時間 |
| can_use_receipt | boolean | 是否開立發票 |
| location | Location[] | 地理資訊 |
| support_phone | string | 支援電話 |
| purchase_type | list | 購買類型 ALLOWED VALUES:
|
| authkey | string | 公司代碼 (optional) |
| company | string | 公司名稱 |
| image_url | string | 圖片網址 |
| enable_quickclick | boolean | 是否啟用快一點 |
| enable_uber_eats | boolean | 是否啟用UberEats |
| enable_foodpanda | boolean | 是否啟用Foodpanda |
| enable_app | boolean | 是否啟用APP |
| mstore_use_version | integer | mStore使用版本 |
| mobile_report_url | string | 手機報表網址 |
| enable_store_marketing | boolean | 是否啟用門市行銷 |
| enable_ordering_system | boolean | 是否啟用訂貨系統 |
| enable_business_analysis | boolean | 是否啟用商務分析 |
| enable_store_management | boolean | 是否啟用店務管理 |
| enable_ticket_redeem_management | boolean | 是否啟用核銷管理 |
| enable_ai_recommend_menu | boolean | 是否啟用菜單AI推薦 |
| enable_ai_recommend_item | boolean | 是否啟用商品AI推薦 |
| enable_ai_recommend_cart | boolean | 是否啟用購物車AI推薦 |
| kiosk_device | Kiosk Device | KIOSK 裝置列表 |
| brand_logo_url | string | 品牌 LOGO URL |
| pwa_small_logo_url | string | PWA (WIXGO) 小 LOGO |
| enable_call_number | boolean | 是否啟用叫號 |
| enable_pwa | boolean | 是否啟用 PWA (WIXGO) |
| enable_kiosk | boolean | 是否啟用 KIOSK |
| enable_jenda | boolean | 是否啟用鉦達 |
| pwa_meal | boolean | 提供 PWA (WIXGO) 取餐 |
| kiosk_meal | boolean | 提供 Kiosk 取餐 |
Response Body Parameters - Location
| Name | Type | Description |
|---|---|---|
| address | string | 地址 |
| zip_code | string | 郵遞區號 |
| latitude | double | 緯度 |
| longitude | double | 經度 |
Response Body Parameters - Kiosk Device
| Name | Type | Description |
|---|---|---|
| device_id | string | 裝置代碼 |
| is_cash_model | boolean | 是否為現金機種 |
Response
[
{
"id": "1101",
"name": "高雄直營",
"translate_name": "translate_name",
"type": "VOLUNTARY_CHAIN",
"phone": "",
"fax": "",
"profile": "<p> </p>\r\n<div id=\"katalon\" style=\"top: 0px;\">\r\n<div id=\"katalon-rec_elementInfoDiv\" style=\"display: none;\"> </div>\r\n</div>",
"business_hours": "",
"location": {
"address": "",
"zip_code": "",
"latitude": 0.0,
"longitude": 0.0
},
"support_phone": "886-6-8885888",
"purchase_type": [
"RESTAURANT"
],
"company": "QA_測試",
"enable_quickclick": false,
"enable_uber_eats": false,
"enable_foodpanda": false,
"enable_app": true,
"mstore_use_version": 1,
"mobile_report_url": "http://cloud.lafresh.com.tw:28445",
"enable_store_marketing": false,
"enable_ordering_system": false,
"enable_business_analysis": true,
"enable_store_management": true,
"enable_ticket_redeem_management": true,
"enable_ai_recommend_menu": true,
"enable_ai_recommend_item": true,
"enable_ai_recommend_cart": true,
"kiosk_device": [
{
"deveice_id": "k1",
"is_cash_model": false
},
{
"deveice_id": "k2",
"is_cash_model": true
}
],
"image_url": null,
"can_use_receipt": false,
"brand_logo_url": "http://test.com/image.png",
"pwa_small_logo_url": "http://test.com/image.png",
"enable_call_number": true,
"enable_pwa": true,
"enable_kiosk": true,
"enable_jenda": true,
"pwa_meal": true,
"kiosk_meal": true,
"enable_wpos": true
}
]