About Theme ​
Access scope
Multiple access scopes needed — refer to each endpoint for access scope requirements.
The ability to design, upload, and modify themes, suitable for automated operations and custom theme development.
Endpoints
GET
/api/202412/decoration/assets/{shopThemeId}: Get theme assert
GET
/api/202412/decoration/themes: Get theme list
Theme Object ​
The theme object.
Properties ​
{
"theme": {
"isCurrent": "false",
"shopThemeName": "Down",
"createTime": "2024-18-12T08:18:49",
"shopThemeId": "1",
"updateTime": "2024-18-12T08:18:49",
"status": "INIT"
}
}
GET
Get theme assert ​
Retrieve store theme asset information.
Access scope
Requires ANY of the following access scopes: read_themes
write_themes
Endpoint
GET
/api/202412/decoration/assets/{shopThemeId}
Request Params
Response Data
curl -X GET \
https://{shop}.genmystore.com/api/202412/decoration/assets/{shopThemeId}" \
-H "X-Genstore-Access-Token: {access_token}" \
HTTP/1.1 200 OK
{
"shopAssert": {
"createTime": "2024-18-12T08:18:49",
"context": "{\"color_scheme\":\"scheme-1\"}",
"updateTime": "2024-18-12T08:18:49",
"fileType": "json"
}
}
GET
Get theme list ​
Get themes list.
Access scope
Requires ANY of the following access scopes: read_themes
write_themes
Endpoint
GET
/api/202412/decoration/themes
Request Params
Response Data
curl -X GET \
https://{shop}.genmystore.com/api/202412/decoration/themes" \
-H "X-Genstore-Access-Token: {access_token}" \
HTTP/1.1 200 OK
{
"themes": [
{
"isCurrent": "false",
"shopThemeName": "Down",
"createTime": "2024-18-12T08:18:49",
"shopThemeId": "1",
"updateTime": "2024-18-12T08:18:49",
"status": "INIT"
}
]
}
About Theme
Access scope
Multiple access scopes needed — refer to each endpoint for access scope requirements.
The ability to design, upload, and modify themes, suitable for automated operations and custom theme development.
Theme Object
The theme object.
Properties
GET
Get theme assert
Retrieve store theme asset information.
Access scope
Requires ANY of the following access scopes: read_themes
write_themes
Endpoint
GET
/api/202412/decoration/assets/{shopThemeId}
GET
Get theme list
Get themes list.
Access scope
Requires ANY of the following access scopes: read_themes
write_themes
Endpoint
GET
/api/202412/decoration/themes