Actions778
- Acl Role Actions
- App Actions
- App Action Button Actions
- App Administration Snippet Actions
- App Cms Block Actions
- App Flow Action Actions
- App Flow Event Actions
- App Payment Method Actions
- App Script Condition Actions
- App Shipping Method Actions
- App Template Actions
- Category Actions
- Cms Block Actions
- Cms Page Actions
- Cms Section Actions
- Cms Slot Actions
- Country Actions
- Country State Actions
- Currency Actions
- Currency Country Rounding Actions
- Custom Entity Actions
- Custom Field Actions
- Custom Field Set Actions
- Custom Field Set Relation Actions
- Customer Actions
- Customer Address Actions
- Customer Group Actions
- Customer Recovery Actions
- Customer Wishlist Actions
- Customer Wishlist Product Actions
- Delivery Time Actions
- Document Actions
- Document Base Config Actions
- Document Base Config Sales Channel Actions
- Document Type Actions
- Flow Actions
- Flow Sequence Actions
- Flow Template Actions
- Import Export File Actions
- Import Export Log Actions
- Import Export Profile Actions
- Integration Actions
- Landing Page Actions
- Language Actions
- Locale Actions
- Log Entry Actions
- Mail Header Footer Actions
- Mail Template Actions
- Mail Template Type Actions
- Main Category Actions
- Media Actions
- Media Default Folder Actions
- Media Folder Actions
- Media Folder Configuration Actions
- Media Thumbnail Actions
- Media Thumbnail Size Actions
- Newsletter Recipient Actions
- Notification Actions
- Number Range Actions
- Number Range Sales Channel Actions
- Number Range State Actions
- Number Range Type Actions
- Order Actions
- Order Customer Actions
- Order Delivery Actions
- Order Delivery Position Actions
- Order Line Item Actions
- Order Line Item Download Actions
- Order Transaction Actions
- Order Transaction Capture Actions
- Order Transaction Capture Refund Actions
- Order Transaction Capture Refund Position Actions
- Payment Method Actions
- Plugin Actions
- Product Actions
- Product Configurator Setting Actions
- Product Cross Selling Actions
- Product Cross Selling Assigned Products Actions
- Product Download Actions
- Product Export Actions
- Product Feature Set Actions
- Product Keyword Dictionary Actions
- Product Manufacturer Actions
- Product Media Actions
- Product Price Actions
- Product Review Actions
- Product Search Config Actions
- Product Search Config Field Actions
- Product Search Keyword Actions
- Product Sorting Actions
- Product Stream Actions
- Product Stream Filter Actions
- Product Visibility Actions
- Promotion Actions
- Promotion Discount Actions
- Promotion Discount Prices Actions
- Promotion Individual Code Actions
- Promotion Sales Channel Actions
- Promotion Setgroup Actions
- Property Group Actions
- Property Group Option Actions
- Rule Actions
- Rule Condition Actions
- Sales Channel Actions
- Sales Channel Analytics Actions
- Sales Channel Domain Actions
- Sales Channel Type Actions
- Salutation Actions
- Scheduled Task Actions
- State Machine Transition Actions
- System Config Actions
- Tag Actions
- Tax Actions
- Tax Provider Actions
- Tax Rule Actions
- Tax Rule Type Actions
- Theme Actions
- Unit Actions
- User Actions
- User Access Key Actions
- User Config Actions
- User Recovery Actions
- Webhook Actions
- Webhook Event Log Actions
- System Info Health Check Actions
- Bulk Operations Actions
- Document Management Actions
- Asset Management Actions
- Mail Operations Actions
- System Operations Actions
- Customer Impersonation Actions
- Order Management Actions
- Order Address Actions
- Authorization Authentication Actions
Theme → Update Theme
AI-generatedOverview
This node operation updates an existing Theme resource in the Shopware system. It allows users to modify various attributes of a theme such as its name, author, description, labels, media, and configuration details. This operation is useful for managing and customizing themes programmatically, for example, updating the theme's appearance or metadata in an automated workflow.
Use Case Examples
- Updating the name and author of a theme to reflect new branding.
- Modifying the theme's JSON configuration to change layout or style settings.
- Adding or updating media associated with the theme, such as preview images or dependent media files.
Properties
| Name | Meaning |
|---|---|
| Id | Identifier for the theme, required to specify which theme to update. |
| Response | Data format for response, used to specify the response format if needed. |
| Technical Name | Technical identifier for the theme, used internally. |
| Name | The display name of the theme. |
| Author | The author of the theme. |
| Description | Description of the theme. |
| Labels | JSON object containing labels for the theme. |
| Help Texts | JSON object containing help texts related to the theme. |
| Custom Fields | JSON object for custom fields associated with the theme. |
| Preview Media Id | Identifier for the preview media associated with the theme. |
| Parent Theme Id | Identifier for the parent theme if this theme inherits from another. |
| Theme Json | JSON object representing the theme's configuration and structure. |
| Base Config | JSON object for the base configuration of the theme. |
| Config Values | JSON object for configuration values of the theme. |
| Active | Boolean flag indicating if the theme is active. |
| Created At | Timestamp for when the theme was created. |
| Updated At | Timestamp for when the theme was last updated. |
| Translated | JSON object containing translated fields for the theme. |
| Sales Channels | JSON array representing sales channels associated with the theme. |
| Media | JSON array of media objects associated with the theme. |
| Preview Media | JSON object representing the preview media details for the theme. |
| Dependent Themes | JSON array of themes that depend on this theme. |
Output
JSON
id- The unique identifier of the updated theme.technicalName- The technical name of the updated theme.name- The display name of the updated theme.author- The author of the updated theme.description- The description of the updated theme.labels- Labels associated with the updated theme.helpTexts- Help texts related to the updated theme.customFields- Custom fields of the updated theme.previewMediaId- Identifier for the preview media of the updated theme.parentThemeId- Identifier for the parent theme of the updated theme.themeJson- JSON configuration of the updated theme.baseConfig- Base configuration of the updated theme.configValues- Configuration values of the updated theme.active- Indicates if the updated theme is active.createdAt- Creation timestamp of the updated theme.updatedAt- Last update timestamp of the updated theme.translated- Translated fields of the updated theme.salesChannels- Sales channels associated with the updated theme.media- Media associated with the updated theme.previewMedia- Preview media details of the updated theme.dependentThemes- Themes that depend on the updated theme.
Dependencies
- An API key credential for Shopware Admin API
Troubleshooting
- Ensure the 'Id' property is correctly set to the theme you want to update; otherwise, the update will fail.
- Verify that JSON fields (e.g., labels, helpTexts, customFields, themeJson) are properly formatted JSON strings to avoid parsing errors.
- Check API credentials and permissions to ensure the node can perform update operations on themes.
- If the update fails, review the error message for details such as invalid fields or missing required properties and correct accordingly.