Admin Appearance: Sections
Stage edits for a section
Changed onHolds the options as an unpublished draft for the locale. The storefront keeps drawing the published values until the theme is published.
post/appearance/sections/{id}/draft
Request
- Base URLhttp://localhost:8000/api/admin
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idinteger required
Section ID
Query parameters
localestring
Example:en
Locale the options belong to
Request body
Example request
{
"options": {
"title": "Summer Sale"
}
}Response
Draft saved.
Changes
- info
endpoint added
- info