Version: 202201
Publish Theme
PATCH/openapi/2022-01/themes/:theme_id/publish
Publish a specific theme using its unique identifier.
Request
Path Parameters
theme_id stringrequired
Theme's ID
Responses
- 200
200
- application/json
- Schema
- Example
- Result
Schema
stateinteger
Default value:
0Example:
0msgstring
Example:
请求成功data object
theme object
idstring
Example:
0af0d906-ab15-460e-99a5-a23e5c78b6e8merchant_theme_idstring
Example:
15536aed-7f62-4789-8688-21b2a0a7d4d1theme_version_idstring
Example:
44058namestring
Example:
Nova 2023localestring
Example:
en-USpublishedstring
Example:
1updated_atstring
Example:
1714462409publish_timestring
Example:
1714462409theme_save_time
revoke_publish_idstring
Example:
{
"state": 0,
"msg": "请求成功",
"data": {
"theme": {
"id": "0af0d906-ab15-460e-99a5-a23e5c78b6e8",
"merchant_theme_id": "15536aed-7f62-4789-8688-21b2a0a7d4d1",
"theme_version_id": "44058",
"name": "Nova 2023",
"locale": "en-US",
"published": "1",
"updated_at": "1714462409",
"publish_time": "1714462409",
"theme_save_time": {},
"revoke_publish_id": ""
}
}
}
{
"state": 0,
"msg": "请求成功",
"data": {
"theme": {
"id": "0af0d906-ab15-460e-99a5-a23e5c78b6e8",
"merchant_theme_id": "15536aed-7f62-4789-8688-21b2a0a7d4d1",
"theme_version_id": "44058",
"name": "Nova 2023",
"locale": "en-US",
"published": "1",
"updated_at": "1714462409",
"publish_time": "1714462409",
"theme_save_time": null,
"revoke_publish_id": ""
}
}
}