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 → Create Category
AI-generatedOverview
This node operation allows users to create a new category in the Shopware system. It is useful for e-commerce administrators or developers who want to programmatically add categories with detailed configurations such as parent-child relationships, media associations, product assignments, SEO settings, and custom fields. For example, a user can create a category with a specific name, assign it a parent category, add media assets, and define SEO URLs all in one API call.
Use Case Examples
- Creating a new product category with a parent category and media assets.
- Adding a category with custom fields and SEO metadata for better search engine visibility.
- Setting up nested product categories with detailed product assignments and visibility settings.
Properties
| Name | Meaning |
|---|---|
| Response | Data format for response, either basic or detailed. |
| Id | Unique identifier for the category (required). |
| Version Id | Version identifier for the category. |
| Parent Id | Identifier of the parent category to establish hierarchy. |
| Parent Version Id | Version identifier of the parent category. |
| After Category Id | Identifier of the category after which this category should be placed. |
| After Category Version Id | Version identifier of the category after which this category should be placed. |
| Media Id | Identifier for associated media asset. |
| Display Nested Products | Boolean flag to display nested products within the category. |
| Auto Increment | Auto increment number for ordering or identification. |
| Breadcrumb | Breadcrumb navigation data as JSON. |
| Level | Depth level of the category in the hierarchy. |
| Path | Path string representing the category location. |
| Child Count | Number of child categories. |
| Type | Type of the category. |
| Product Assignment Type | Type of product assignment to 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 indicating if CMS page ID is switched; not used in criteria. |
| Visible Child Count | Runtime field indicating count of visible child categories; not used in criteria. |
| Name | Name of the category (required). |
| Custom Fields | Custom fields data as JSON. |
| Slot Config | Slot configuration data as JSON. |
| Link Type | Type of link associated with the category. |
| Internal Link | Internal link URL or identifier. |
| External Link | External link URL. |
| Link New Tab | Boolean flag to open link in a new tab. |
| Description | Description text for the category. |
| Meta Title | Meta title for SEO purposes. |
| Meta Description | Meta description for SEO purposes. |
| Keywords | SEO keywords associated with the category. |
| 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 associated with the category. |
| Custom Entity Type Id | Identifier for a custom entity type. |
| Created At | Timestamp of category creation. |
| Updated At | Timestamp of last update to the category. |
| Translated | Translated fields data as JSON. |
| Parent | Parent category data as JSON. |
| Children | Child categories data as JSON. |
| Media | Media assets data as JSON. |
| Products | Products assigned to the category as JSON. |
| Nested Products | Nested products data as JSON. |
| Tags | Tags associated with the category as JSON. |
| Cms Page | CMS page data as JSON. |
| Product Stream | Product stream data as JSON. |
| Navigation Sales Channels | Navigation sales channels data as JSON. |
| Footer Sales Channels | Footer sales channels data as JSON. |
| Service Sales Channels | Service sales channels data as JSON. |
| Main Categories | Main categories data as JSON. |
| Seo Urls | SEO URLs data as JSON. |
Output
JSON
id- Unique identifier of the created category.name- Name of the created category.parentId- Identifier of the parent category, if any.mediaId- Identifier of associated media, if any.active- Boolean indicating if the category is active.visible- Boolean indicating if the category is visible.createdAt- Timestamp when the category was created.updatedAt- Timestamp when the category was last updated.customFields- Custom fields data of the category.seoUrls- SEO URLs associated with the category.
Dependencies
- An API key credential for Shopware Admin API
Troubleshooting
- Ensure all required fields like 'Id' and 'Name' are provided to avoid validation errors.
- Check JSON formatting for fields like 'breadcrumb', 'customFields', 'slotConfig', and other JSON typed inputs to prevent parsing errors.
- Verify API credentials and base URL configuration to avoid authentication or connection issues.
- If the category creation fails, review the API response for specific error messages related to field constraints or permissions.