Update theme tokens and dual-theme flag
Update theme tokens and dual-theme flag. A partial token object merges into the stored map. An invalid value names the token path. dryRun returns before/after without saving.
Yöntem: PUT · Kimlik doğrulama: bearer · Grup: theme
/api/v1/{locale}/{websiteId}/theme
İstek
Content-Type: application/json
{ "lightTokens"?: object, "darkTokens"?: object, "dualThemeEnabled"?: boolean, "dryRun"?: boolean }Şema
{
"method": "PUT",
"path": "/api/v1/{locale}/{websiteId}/theme",
"contentType": "application/json",
"bodyHint": "{ \"lightTokens\"?: object, \"darkTokens\"?: object, \"dualThemeEnabled\"?: boolean, \"dryRun\"?: boolean }"
}MCP araçları
- save_theme — Save website theme or layout