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
- application/json
- Body
- Example
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
json
{
"copy_theme_id": "string",
"copy_theme_name": "string",
"sources": "string"
}
Responses
- 200
OK
- application/json
- Schema
- Example
Schema
codestring
error code
messagestring
error message
data object
dataobject
The copied theme
json
{
"code": "string",
"message": "string",
"data": {
"data": {}
}
}