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
Cms Slot → Update Cms Slot
AI-generatedOverview
This node updates a CMS Slot in the Shopware system. It is useful for scenarios where you need to modify the content or configuration of a specific CMS Slot, such as changing its type, slot name, or associated block. Practical examples include updating the slot's configuration JSON, custom fields, or linked block information to reflect changes in the website's content management system.
Use Case Examples
- Updating the 'type' and 'slot' fields of a CMS Slot to change its display on a webpage.
- Modifying the 'config' JSON to adjust the slot's settings dynamically.
- Changing the 'blockId' or 'cmsBlockVersionId' to associate the slot with a different block version.
Properties
| Name | Meaning |
|---|---|
| Id | Identifier for the CMS Slot to update, required to specify which slot to modify. |
| Response | Data format for the response, used to specify how the response data should be formatted or filtered. |
| Version Id | Version identifier for the CMS Slot, used to specify the version of the slot being updated. |
| Type | Type of the CMS Slot, required to define the slot's content type. |
| Slot | Name of the slot, required to specify the slot's identifier within the block. |
| Locked | Boolean flag indicating if the slot is locked, controlling whether it can be edited. |
| Config | JSON configuration object for the slot, allowing detailed customization of slot settings. |
| Custom Fields | JSON object for custom fields, enabling additional metadata or custom data storage. |
| Data | JSON object containing the slot's data content. |
| Block Id | Identifier of the block to which the slot belongs, required to associate the slot with a block. |
| Field Config | JSON object for field configuration, specifying additional field-level settings. |
| Cms Block Version Id | Version identifier for the CMS Block, used to specify the block version associated with the slot. |
| Created At | Timestamp string indicating when the slot was created. |
| Updated At | Timestamp string indicating when the slot was last updated. |
| Translated | JSON object containing translated content for the slot. |
| Block | JSON object representing the block details associated with the slot, including nested visibility, sections, pages, and related entities. |
Output
JSON
id- The unique identifier of the updated CMS Slot.type- The type of the CMS Slot after update.slot- The slot name or identifier after update.locked- Boolean indicating if the slot is locked.config- Configuration details of the slot in JSON format.customFields- Custom fields associated with the slot in JSON format.data- Data content of the slot in JSON format.blockId- Identifier of the block the slot belongs to.fieldConfig- Field configuration details in JSON format.cmsBlockVersionId- Version ID of the CMS block associated with the slot.createdAt- Creation timestamp of the slot.updatedAt- Last update timestamp of the slot.translated- Translated content of the slot in JSON format.block- Detailed block information associated with the slot in JSON format.
Dependencies
- An API key credential for Shopware Admin API authentication
Troubleshooting
- Ensure the 'Id' property is correctly set to the CMS Slot you want to update; otherwise, the update will fail or affect the wrong slot.
- Verify that JSON fields like 'config', 'customFields', 'data', 'fieldConfig', 'translated', and 'block' are valid JSON strings to avoid parsing errors.
- Check API credentials and base URL configuration to ensure successful connection to the Shopware Admin API.
- If the slot is locked ('locked' property is true), updates might be restricted depending on Shopware's permissions settings.