---
title: "Save Layouts Draft Setting"
method: PUT
path: "/settings/layouts/draft"
tags: ["Settings"]
---

# Save Layouts Draft Setting

`PUT /settings/layouts/draft`

To save the setting of layouts draft<br>儲存該佈局草稿有的設定

## Response `200`

OK

- LayoutsSetting
  - `announcement` GlobalSectionSettings
    - `id` string — The ID of the section defined by developer<br>由開發人員定義的Section ID
    - `type` string — The type of the section<br>Section的類別
    - `schema_settings` object — The schema of the section<br>Section的結構
      - `settings` object — The settings of the schema<br>Section的結構設定
      - `blocks` object — The blocks included in the section<br>Section內包含的blocks
      - `blocks_order` string[] — The blocks order in the section<br>Section的blocks的排列次序
  - `header` GlobalSectionSettings
    - `id` string — The ID of the section defined by developer<br>由開發人員定義的Section ID
    - `type` string — The type of the section<br>Section的類別
    - `schema_settings` object — The schema of the section<br>Section的結構
      - `settings` object — The settings of the schema<br>Section的結構設定
      - `blocks` object — The blocks included in the section<br>Section內包含的blocks
      - `blocks_order` string[] — The blocks order in the section<br>Section的blocks的排列次序
  - `footer` GlobalSectionSettings
    - `id` string — The ID of the section defined by developer<br>由開發人員定義的Section ID
    - `type` string — The type of the section<br>Section的類別
    - `schema_settings` object — The schema of the section<br>Section的結構
      - `settings` object — The settings of the schema<br>Section的結構設定
      - `blocks` object — The blocks included in the section<br>Section內包含的blocks
      - `blocks_order` string[] — The blocks order in the section<br>Section的blocks的排列次序

## Other responses

- `404` — Not found error
- `422` — Unprocessable entity error
- `500` — Server error

---

[API](https://skmtc.net/shoplineapp/apis/shopline-open-api.md) · [All operations](https://skmtc.net/shoplineapp/apis/shopline-open-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/shoplineapp/shopline-open-api/revisions/1675ac12cde7/schema)
