Skip to main content
Version: 202601

Set card properties

PATCH 

/openapi/2026-01/themes/edit-sessions/:oseid/sections/:section_id/props

Set/merge properties into a card's settings within an edit session.

Request

Path Parameters

    oseid stringrequired

    Edit session ID

    section_id stringrequired

    Section instance ID inside the document; a global card id (header, footer, announcement, cart_drawer) also works

Bodyrequired

    doc_idstringrequired

    Document (template file) ID the section lives in

    theme_idstringrequired

    Theme ID (used to build the rendering context url)

    propsobjectrequired

    Key→value properties to set/merge into the section's settings

    template_namestring

    Template name, e.g. index. Defaults to the file location without .liquid

    localestring

    Rendering locale; defaults to en_US

Responses

OK

Schema
    codestring

    error code

    messagestring

    error message

    data object
    sectionobject

    The updated section object

    htmlstring

    Rendered section HTML. Empty when the target is a global card (header / footer / ...) — those are not re-rendered per section