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
Category → Update Category
AI-generatedOverview
This node operation updates an existing category in the Shopware system. It allows users to modify various attributes of a category such as its name, parent category, media, products, tags, SEO URLs, and sales channel assignments. This operation is useful for managing and organizing product categories dynamically within an e-commerce platform, ensuring that category information is current and accurately reflects the product catalog structure.
Use Case Examples
- Updating the name and description of a category to reflect a new marketing campaign.
- Changing the parent category of a category to reorganize the category hierarchy.
- Adding or updating media associated with a category to enhance its visual presentation on the storefront.
- Modifying SEO URLs and metadata to improve search engine optimization for category pages.
Properties
| Name | Meaning |
|---|---|
| Id | Identifier for the category, required to specify which category to update. |
| Response | Data format for response. Empty if none is provided. |
| Version Id | Version identifier for the category. |
| Parent Id | Identifier of the parent category. |
| Parent Version Id | Version identifier for the parent category. |
| After Category Id | Identifier of the category after which this category should be placed. |
| After Category Version Id | Version identifier for the after category. |
| Media Id | Identifier for media associated with the category. |
| Display Nested Products | Boolean flag to display nested products within the category. |
| Auto Increment | Auto increment number for the category. |
| Breadcrumb | Breadcrumb navigation data for the category. |
| Level | Level of the category in the hierarchy. |
| Path | Path string representing the category's location in the hierarchy. |
| Child Count | Number of child categories. |
| Type | Type of the category. |
| Product Assignment Type | Type of product assignment for the category. |
| Visible | Boolean flag indicating if the category is visible. |
| Active | Boolean flag indicating if the category is active. |
| Cms Page Id Switched | Runtime field, cannot be used as part of the criteria. |
| Visible Child Count | Runtime field, cannot be used as part of the criteria. |
| Name | Name of the category, required. |
| Custom Fields | Custom fields data in JSON format. |
| Slot Config | Slot configuration data in JSON format. |
| Link Type | Type of link associated with the category. |
| Internal Link | Internal link URL. |
| External Link | External link URL. |
| Link New Tab | Boolean flag to open link in a new tab. |
| Description | Description of the category. |
| Meta Title | Meta title for SEO. |
| Meta Description | Meta description for SEO. |
| Keywords | SEO keywords. |
| Cms Page Id | Identifier for the CMS page associated with the category. |
| Cms Page Version Id | Version identifier for the CMS page. |
| Product Stream Id | Identifier for the product stream. |
| Custom Entity Type Id | Identifier for a custom entity type. |
| Created At | Creation timestamp. |
| Updated At | Update timestamp. |
| Translated | Translated data in JSON format. |
| Parent | Parent category data in JSON format. |
| Children | Child categories data in JSON format. |
| Media | Media data in JSON format. |
| Products | Products data in JSON format. |
| Nested Products | Nested products data in JSON format. |
| Tags | Tags data in JSON format. |
| Cms Page | CMS page data in JSON format. |
| Product Stream | Product stream data in JSON format. |
| Navigation Sales Channels | Navigation sales channels data in JSON format. |
| Footer Sales Channels | Footer sales channels data in JSON format. |
| Service Sales Channels | Service sales channels data in JSON format. |
| Main Categories | Main categories data in JSON format. |
| Seo Urls | SEO URLs data in JSON format. |
Output
JSON
id- Identifier of the updated categoryname- Name of the updated categoryparentId- Identifier of the parent categorymediaId- Identifier of associated mediaactive- Indicates if the category is activevisible- Indicates if the category is visibledescription- Description of the categorymetaTitle- Meta title for SEOmetaDescription- Meta description for SEOkeywords- SEO keywordscreatedAt- Creation timestampupdatedAt- Update timestampcustomFields- Custom fields datachildren- Child categories dataproducts- Products datatags- Tags datacmsPage- CMS page dataseoUrls- SEO URLs datanavigationSalesChannels- Navigation sales channels datafooterSalesChannels- Footer sales channels dataserviceSalesChannels- Service sales channels datamainCategories- Main categories dataproductStream- Product stream datanestedProducts- Nested products data
Troubleshooting
- Ensure the 'Id' and 'Name' fields are provided as they are required for the update operation.
- Verify that JSON fields such as 'breadcrumb', 'customFields', 'slotConfig', 'parent', 'children', 'media', 'products', 'nestedProducts', 'tags', 'cmsPage', 'productStream', 'navigationSalesChannels', 'footerSalesChannels', 'serviceSalesChannels', 'mainCategories', and 'seoUrls' contain valid JSON data to avoid parsing errors.
- Check API credentials and endpoint URL to ensure proper authentication and connectivity with the Shopware API.
- If the update fails, review the error message for details on missing or invalid fields and correct them accordingly.