---
title: "Get Layouts Sections"
method: GET
path: "/themes/{theme_key}/layouts/sections"
tags: ["Layouts"]
---

# Get Layouts Sections

`GET /themes/{theme_key}/layouts/sections`

## Request

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

To get the layouts sections with theme key<br>用theme_key請求佈局元件

## Path parameters

- `theme_key` string, required

## Query parameters

- `types` string[], required

## Response `200`

OK

- object
  - `items` PageSection[]
    - `type` string: The type of the page section.<br>Page section 的種類
    - `schema` PageSectionSchema
      - `name` 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>店家定義法文名稱
      - `tag` string: Tag<br>標籤
      - `class` string: Class<br>類別
      - `settings` object[]: Settings details<br>設定詳情
      - `blocks` object[]: Blocks details<br>Blocks的詳情
      - `presets` object[]: Presets details<br>預設詳情
      - `max_blocks` integer: Maximum number of blocks<br>Blocks的最大值
      - `is_blocks_fixed` boolean: Whether the blocks are fixed<br>Blocks是否被固定
      - `type` string: The type of the page section schema.<br>Page section schema的種類
      - `block_info` 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>店家定義法文名稱
      - `icon` string: Icon<br>頭像
      - `feature_key` string: Feature key
      - `order` integer: Widget Ordering
      - `ui_options` object: Ui options<br> Icon資訊

## 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/layouts/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)
