---
title: "Stage edits for a section"
method: POST
path: "/appearance/sections/{id}/draft"
tags: ["Admin Appearance: Sections"]
---

# Stage edits for a section

`POST /appearance/sections/{id}/draft`

## Request

- Base URL: `http://localhost:8000/api/admin`
- URL: `http://localhost:8000/api/admin/appearance/sections/{id}/draft`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/bagisto/apis/bagisto-admin-api/docs/appearance/sections/:id/draft/post.ts> (a function with typed inputs; its response is checked against the schema)

Holds the options as an unpublished draft for the locale. The storefront keeps drawing the published values until the theme is published.

## Path parameters

- `id` integer, required

## Query parameters

- `locale` string

## Request body

- object
  - `options` object, required

## Response `200`

Draft saved.

## Other responses

- `201`: AdminAppearanceSectionDraft resource created
- `400`: Invalid input
- `404`: Section not found.
- `422`: Options missing.

## Changes

- **2026-08-26** `a34d6835b19b`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/bagisto/apis/bagisto-admin-api/changes/appearance/sections/:id/draft/post.md)

---

[API](https://skmtc.dev/bagisto/apis/bagisto-admin-api.md) - [All operations](https://skmtc.dev/bagisto/apis/bagisto-admin-api/llms.txt) - [OpenAPI document](https://skmtc.dev/bagisto/apis/bagisto-admin-api/revisions/3198f11be70f?raw)
