**Version: 202601**

# Publish theme

**PATCH** `/openapi/2026-01/themes/:theme_id/publish`

Publish a specific theme using its unique identifier.

## Request

**Path Parameters**

- `theme_id` string (required)

  Theme's unique identifier

## Responses

**200**

OK

**application/json**

**Schema | Example**

**Schema**

- `code` string

  error code
- `message` string

  error message
- `data` object

  - `theme` object

    Theme

    - `id` string

      Theme's unique identifier
    - `name` string

      Theme name
    - `merchant_theme_id` string

      Merchant theme ID
    - `locale` string

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

      Theme style
    - `published` string

      Indicates if the theme is published (0 or 1)
    - `status` string

      The status of the theme
    - `updated_at` string

      Timestamp when the theme was last updated
    - `publish_time` string

      Publish timestamp
    - `theme_save_time` string

      Last theme save time
    - `theme_version_id` string

      The version ID of the theme
    - `revoke_publish_id` string

      ID used to revoke publishing, if applicable

```json
{
  "code": "string",
  "message": "string",
  "data": {
    "theme": {
      "id": "string",
      "name": "string",
      "merchant_theme_id": "string",
      "locale": "string",
      "preset": "string",
      "published": "string",
      "status": "string",
      "updated_at": "string",
      "publish_time": "string",
      "theme_save_time": "string",
      "theme_version_id": "string",
      "revoke_publish_id": "string"
    }
  }
}
```
