Version: 202506
Publish theme
PATCH/openapi/2025-06/themes/:theme_id/publish
Publish a specific theme using its unique identifier.
Request
Path Parameters
theme_id stringrequired
Theme's unique identifier
Responses
- 200
OK
- application/json
- Schema
- Example
Schema
codestring
error code
messagestring
error message
data object
theme object
Theme
idstring
Theme's unique identifier
namestring
Theme name
merchant_theme_idstring
Merchant theme ID
localestring
Theme locale (e.g., en-US, zh-CN)
presetstring
Theme style
publishedstring
Indicates if the theme is published (0 or 1)
statusstring
The status of the theme
updated_atstring
Timestamp when the theme was last updated
publish_timestring
Publish timestamp
theme_save_timestring
Last theme save time
theme_version_idstring
The version ID of the theme
revoke_publish_idstring
ID used to revoke publishing, if applicable
{
"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"
}
}
}