**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**

**Body (required)**

- `copy_theme_id` string (required)

  Source theme id to copy from
- `copy_theme_name` string (required)

  Name for the new (copied) theme
- `sources` string

  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**

- `code` string

  error code
- `message` string

  error message
- `data` object

  - `data` object

    The copied theme

```json
{
  "code": "string",
  "message": "string",
  "data": {
    "data": {}
  }
}
```
