版本:202201
发布主题
PATCH/openapi/2022-01/themes/:theme_id/publish
将指定主题发布为当前使用主题。
请求
Path参数
theme_id string必填
主题 ID。
响应
- 200
200
- application/json
- 数据结构
- 示例
- Result
数据结构
stateinteger
默认值:
0示例:
0msgstring
示例:
请求成功data object
theme object
idstring
示例:
0af0d906-ab15-460e-99a5-a23e5c78b6e8merchant_theme_idstring
示例:
15536aed-7f62-4789-8688-21b2a0a7d4d1theme_version_idstring
示例:
44058namestring
示例:
Nova 2023localestring
示例:
en-USpublishedstring
示例:
1updated_atstring
示例:
1714462409publish_timestring
示例:
1714462409theme_save_time
revoke_publish_idstring
示例:
{
"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": ""
}
}
}