Update theme global config
PATCH/openapi/2026-01/themes/edit-sessions/:oseid/files/:doc_id/global
Partially update the theme's global config within an edit session: pass only the settings to
change (one or many). Updates the theme settings by default; pass section_id to update a
global card such as the header, footer, announcement bar, or cart drawer.
Request
Path Parameters
Edit session ID
Document (template file) ID
- application/json
- Body
- Example
Bodyrequired
Settings to change — partial, one or many key/value pairs; other settings stay untouched
Target: omit or skin = global variables; otherwise a global section's type or stored
id — the global singletons (header, footer, announcement, cart_drawer) or any member of the
header / footer regions. An id that is not in the session returns 400
Render-context template name, default index
Render locale, default en_US
{
"settings": {},
"section_id": "string",
"template_name": "string",
"locale": "string"
}
Responses
- 200
OK
- application/json
- Schema
- Example
Schema
error code
error message
data object
The stored section after the update (for skin: the changed settings echoed back)
Rendered HTML for global cards; empty for skin (no render)
{
"code": "string",
"message": "string",
"data": {
"section": {},
"html": "string"
}
}