Skip to main content
Version: 202601

Duplicate theme

POST 

/openapi/2026-01/themes/copy

Copy an existing theme within the current store into a new one and return the new theme ID; sources limits what is copied.

Request

Bodyrequired

    copy_theme_idstringrequired

    Source theme id to copy from

    copy_theme_namestringrequired

    Name for the new (copied) theme

    sourcesstring

    Optional comma-separated source scopes to copy. Defaults to all

Responses

OK

Schema
    codestring

    error code

    messagestring

    error message

    data object
    dataobject

    The copied theme