---
title: "Get the theme sections by theme_key"
method: GET
path: "/themes/{theme_key}/sections"
tags: ["Themes"]
---

# Get the theme sections by theme_key

`GET /themes/{theme_key}/sections`

## Request

- Base URL: `https://open.shopline.io/v1`
- URL: `https://open.shopline.io/v1/themes/{theme_key}/sections`
- Auth: HTTP bearer

To get the page sections of the theme with the theme_key<br>用theme_key請求該主題有的頁面sections

## Path parameters

- `theme_key` string, required

## Query parameters

- `template_key` string

## Response `200`

OK

- object
  - `items` ThemeSchema
    - `items` object
      - `name` object: Name Translations<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>店家定義法文名稱
      - `settings` object: Settings of the item of theme schema
        - `id` string: ID of the setting<br>設定的ID
        - `type` string: Type of the setting<br>設定的種類
        - `label` object: Label Translations<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>店家定義法文名稱
        - `info` object: Info Translations<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>店家定義法文名稱
        - `default` union
          - string
          - number
          - integer
          - boolean
          - unknown[]
            - unknown
          - object

## Other responses

- `401`: Bad authentication
- `403`: Forbidden
- `500`: Server error

## Changes

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

[Operation history](https://skmtc.dev/shoplineapp/apis/shopline-open-api/changes/themes/:theme_key/sections/get.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)
