Skip to main content
Version: 202506

Publish theme

PATCH 

/openapi/2025-06/themes/:theme_id/publish

Publish a specific theme using its unique identifier.

Request

Path Parameters

    theme_id stringrequired

    Theme's unique identifier

Responses

OK

Schema
    codestring

    error code

    messagestring

    error message

    data object
    theme object

    Theme

    idstring

    Theme's unique identifier

    namestring

    Theme name

    merchant_theme_idstring

    Merchant theme ID

    localestring

    Theme locale (e.g., en-US, zh-CN)

    presetstring

    Theme style

    publishedstring

    Indicates if the theme is published (0 or 1)

    statusstring

    The status of the theme

    updated_atstring

    Timestamp when the theme was last updated

    publish_timestring

    Publish timestamp

    theme_save_timestring

    Last theme save time

    theme_version_idstring

    The version ID of the theme

    revoke_publish_idstring

    ID used to revoke publishing, if applicable