Get Web Pages
Description
取得網頁。
Resource
GET /v1/web_pages
Authorization
採用 OAuth 2.0 Bearer Token,詳細使用流程請參考 Auth Login。
Query Parameters
| Name | Type | Description |
|---|---|---|
| scenario | string | 場域 (option) ALLOWED VALUES:
|
| store_id | string | 門市編號 (option) |
| type | string | 類型 (option) ALLOWED VALUES:
|
Request Example
GET /v1/web_pages?scenario=PWA&type=EXCHANGE_AND_RETURN_POLICY
Response Body Parameters
| Name | Type | Description |
|---|---|---|
| web_pages | Web Page | 網頁列表 |
Response Body Parameters - Web Page
| Name | Type | Description |
|---|---|---|
| title | string | 網頁標題 |
| content | string | 網頁內容 |
| url | string | 網頁網址 |
| open_method | string (enum) |
開啟方式 ALLOWED VALUES:
|
| type | string (enum) |
類型 ALLOWED VALUES:
|
| scenario | string (enum) |
場域 (option) ALLOWED VALUES:
|
Response Example
{
"web_pages": [
{
"title": "退換貨條款",
"content": "<p>退換貨條款說明</p>",
"url": "https://portal-dev.wixtar.com/kiosk/apptest/webservice/page/pageview.php?company=18090377&pg=EXCHANGE_AND_RETURN_POLICY",
"open_method": "INSIDE",
"type": "EXCHANGE_AND_RETURN_POLICY",
"scenario": "PWA"
}
]
}