---
title: "Publish Page"
method: POST
path: "/pages/{pageId}/publish"
tags: ["Pages"]
---

# Publish Page

`POST /pages/{pageId}/publish`

## Request

- Base URL: `https://open.shopline.io/v1`
- URL: `https://open.shopline.io/v1/pages/{pageId}/publish`
- Auth: HTTP bearer

To publish page with open API<br>套用草擬中的變更到頁面

## Path parameters

- `pageId` string, required

## Response `200`

OK

- object
  - `items` Page
    - `id` string: Id of the Page<br>頁面ID
    - `created_at` string: Created Time<br>頁面創造時間
    - `updated_at` string: Updated Time<br>頁面更新時間
    - `status` 'active' | 'draft' | 'removed' | 'hidden': Status of the Page<br>頁面狀態
    - `type` string: Type of the Page<br>頁面類別
    - `title_translations` object: Title in different languages<br>以不同語言顯示的標題
      - `en` string: Merchant defined English name<br>店家定義英文名稱
      - `zh-hant` string: Merchant defined Traditional Chinese name<br>店家定義繁體中文名稱
      - `zh-cn` string: Merchant defined Simplified Chinese name<br>店家定義簡體中文名稱
      - `vi` string: Merchant defined Vietnamese name<br>店家定義越南文名稱
      - `ms` string: Merchant defined Malaysian name<br>店家定義馬來西亞文名稱
      - `ja` string: Merchant defined Japanese name<br>店家定義日文名稱
      - `th` string: Merchant defined Thai name<br>店家定義泰文名稱
      - `id` string: Merchant defined Indian name<br>店家定義印度文名稱
      - `de` string: Merchant defined Deutsch name<br>店家定義德文名稱
      - `fr` string: Merchant defined France name<br>店家定義法文名稱
    - `content_translations` object: Content in different languages<br>以不同語言顯示的內容
      - `en` string: Merchant defined English name<br>店家定義英文名稱
      - `zh-hant` string: Merchant defined Traditional Chinese name<br>店家定義繁體中文名稱
      - `zh-cn` string: Merchant defined Simplified Chinese name<br>店家定義簡體中文名稱
      - `vi` string: Merchant defined Vietnamese name<br>店家定義越南文名稱
      - `ms` string: Merchant defined Malaysian name<br>店家定義馬來西亞文名稱
      - `ja` string: Merchant defined Japanese name<br>店家定義日文名稱
      - `th` string: Merchant defined Thai name<br>店家定義泰文名稱
      - `id` string: Merchant defined Indian name<br>店家定義印度文名稱
      - `de` string: Merchant defined Deutsch name<br>店家定義德文名稱
      - `fr` string: Merchant defined France name<br>店家定義法文名稱
    - `key` 'about' | 'terms' | 'policy' | 'others', nullable: Key of the page
    - `seo_title_translations` object: SEO title in different languages<br>以不同語言顯示的SEO標題
      - `en` string: Merchant defined English name<br>店家定義英文名稱
      - `zh-hant` string: Merchant defined Traditional Chinese name<br>店家定義繁體中文名稱
      - `zh-cn` string: Merchant defined Simplified Chinese name<br>店家定義簡體中文名稱
      - `vi` string: Merchant defined Vietnamese name<br>店家定義越南文名稱
      - `ms` string: Merchant defined Malaysian name<br>店家定義馬來西亞文名稱
      - `ja` string: Merchant defined Japanese name<br>店家定義日文名稱
      - `th` string: Merchant defined Thai name<br>店家定義泰文名稱
      - `id` string: Merchant defined Indian name<br>店家定義印度文名稱
      - `de` string: Merchant defined Deutsch name<br>店家定義德文名稱
      - `fr` string: Merchant defined France name<br>店家定義法文名稱
    - `seo_description_translations` object: SEO description in different languages<br>以不同語言顯示的SEO描述
      - `en` string: Merchant defined English name<br>店家定義英文名稱
      - `zh-hant` string: Merchant defined Traditional Chinese name<br>店家定義繁體中文名稱
      - `zh-cn` string: Merchant defined Simplified Chinese name<br>店家定義簡體中文名稱
      - `vi` string: Merchant defined Vietnamese name<br>店家定義越南文名稱
      - `ms` string: Merchant defined Malaysian name<br>店家定義馬來西亞文名稱
      - `ja` string: Merchant defined Japanese name<br>店家定義日文名稱
      - `th` string: Merchant defined Thai name<br>店家定義泰文名稱
      - `id` string: Merchant defined Indian name<br>店家定義印度文名稱
      - `de` string: Merchant defined Deutsch name<br>店家定義德文名稱
      - `fr` string: Merchant defined France name<br>店家定義法文名稱
    - `seo_keywords` string: Key of the page
    - `open_outside_window` boolean: Whether the page open outside window<br>頁面是否在視窗外開啟
    - `column_gutter` string: The gutter of column<br>行的間距
    - `row_gutter` string: The gutter of row<br>列的間距
    - `is_product_page` boolean: Whether the page is a product page<br>頁面是否商品頁面
    - `is_hidden_product_visible` boolean: Whether hidden product is visible in the page<br>頁面會否顯示已隱藏商品
    - `use_noindex_meta_tag` boolean: Whether the page is searchable on search engines<br>頁面會否被搜尋引擎搜尋到
    - `link` Link
      - `id` string
      - `status` string
      - `type` string
      - `name` string
      - `name_translations` Translatable
        - `en` string: Merchant defined English name<br>店家定義英文名稱
        - `zh-hant` string: Merchant defined Traditional Chinese name<br>店家定義繁體中文名稱
        - `zh-cn` string: Merchant defined Simplified Chinese name<br>店家定義簡體中文名稱
        - `vi` string: Merchant defined Vietnamese name<br>店家定義越南文名稱
        - `ms` string: Merchant defined Malaysian name<br>店家定義馬來西亞文名稱
        - `ja` string: Merchant defined Japanese name<br>店家定義日文名稱
        - `th` string: Merchant defined Thai name<br>店家定義泰文名稱
        - `id` string: Merchant defined Indian name<br>店家定義印度文名稱
        - `de` string: Merchant defined Deutsch name<br>店家定義德文名稱
        - `fr` string: Merchant defined France name<br>店家定義法文名稱
      - `value_id` string
      - `url_link` string
      - `key` string
      - `html_target` string
      - `section` string
      - `owner_id` string
      - `parent_id` string
      - `priority` number
      - `children_ids` string[]
      - `created_at` string: Created Time<br>建立時間
      - `updated_at` string: Updated Time<br>更新時間
      - `seo_image` object: SEO Image<br>SEO社群預覽圖
        - `id` string: Media ID
        - `url` string: Media URL
    - `sections` object
    - `sections_order` string[]
    - `rows` union[]
      - union
        - string
        - number
        - integer
        - boolean
        - unknown[]
          - unknown
        - object
    - `use_layout_engine_template` boolean: Whether the page has Layout Engine template<br>頁面是否使用 Layout Engine template

## Other responses

- `401`: Bad authentication
- `403`: Forbidden
- `404`: Page not found error
- `422`: Unprocessable Entity
- `500`: Server error

## Changes

- **2026-11-03** `d2518391b149`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/shoplineapp/apis/shopline-open-api/changes/pages/:pageId/publish/post.md)

---

[API](https://skmtc.dev/shoplineapp/apis/shopline-open-api.md) - [All operations](https://skmtc.dev/shoplineapp/apis/shopline-open-api/llms.txt) - [OpenAPI document](https://skmtc.dev/shoplineapp/apis/shopline-open-api/revisions/d2518391b149?raw)
