Skip to content

Get Poya Setting

Description

取得寶雅參數設定。

Resource

GET /v1/basic/poya/setting

Authorization

採用 OAuth 2.0 Bearer Token,詳細使用流程請參考 Auth Login

Query Parameters

Name Type Description
store_id string 門市代碼

Request Example

GET /v1/basic/poya/setting?store_id=0001

Response Body Parameters

Name Type Description
employee_permissions boolean 員工權限開關
service_bell_permissions boolean 服務鈴開關
is_sell_shopping_bag boolean 購物袋開關
shopping_bags Shopping Bags[] 購物袋資訊
(option)

Response Body Parameters - Shopping Bags

Name Type Description
country_code string 國碼
in_store_code string 店內碼
product_name string 品名
image_url string 圖片網址

Response Body Example

{
    "employee_permissions": false,
    "service_bell_permissions": true,
    "is_sell_shopping_bag": true,
    "shopping_bags": [
        {
            "country_code": "hotdog",
            "in_store_code": "hotdog",
            "product_name": "hotdog",
            "image_url": "https://kiosk.lafresh.com.tw/kiosk/apptest/public/bag/97151664_0001_1.jpg"
        },
        {
            "country_code": "gone",
            "in_store_code": "gone",
            "product_name": "gone",
            "image_url": "https://kiosk.lafresh.com.tw/kiosk/apptest/public/bag/97151664_0001_2.jpg"
        }
    ]
}