Skip to main content
Version: 202601

Upgrade theme

POST 

/openapi/2026-01/themes/:theme_id/upgrade

Create a new theme upgraded to the latest version from the specified theme, carrying over its configuration; the original theme is left unchanged. Returns the new theme ID.

Request​

Path Parameters

    theme_id stringrequired

    The ID of the theme to upgrade

Bodyrequired

    namestring

    Optional new name for the upgraded theme. Leave empty to keep the current name

Responses​

OK

Schema
    codestring

    error code

    messagestring

    error message

    data object
    theme_idstring

    The ID of the upgraded theme