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
Main Category → Search Main Category
AI-generatedOverview
This node performs a search operation on the 'Main Category' resource in a Shopware system. It allows users to query main categories with various parameters such as pagination (page, limit), filtering, sorting, and aggregations. This is useful for retrieving categorized data from a Shopware store, for example, to display categories on a website or to analyze category data programmatically.
Use Case Examples
- Retrieve the first page of main categories with a limit of 10 items per page.
- Search main categories with specific filters to find categories matching certain criteria.
- Sort main categories by a specific field and apply aggregations to get summarized data.
Properties
| Name | Meaning |
|---|---|
| Page | The page number of the search result to retrieve, used for pagination. |
| Limit | The number of items to return per page in the search result. |
| Filter | A JSON array of filters to restrict the search results based on specific conditions. |
| Sort | A JSON array defining the sorting order of the search results. |
| Post Filter | A JSON array of filters applied after aggregations, which do not affect aggregation results. |
| Associations | A JSON object defining related entities to include in the search results. |
| Aggregations | A JSON array defining aggregation operations to perform on the search results. |
| Grouping | A JSON array specifying fields to group the search results by. |
| Fields | A JSON array specifying which fields should be returned in the search results. |
| Total Count Mode | Option to determine how the total number of hits is calculated: none (disabled), exact (slow but accurate), or next-pages (fast for next page only). |
| Ids | A JSON array of specific IDs to search for. |
| Includes | A JSON object specifying fields to include for given entities, used to control returned data fields. |
| Request Options | Additional request options such as batching, SSL certificate validation, proxy settings, and timeout configuration. |
Output
JSON
data- The search results containing main category data returned from the Shopware API.
Dependencies
- Shopware API credentials
Troubleshooting
- Invalid JSON in filter, sort, post-filter, associations, aggregations, grouping, fields, ids, or includes properties can cause request failures. Ensure JSON is correctly formatted.
- Incorrect pagination values (page or limit) may result in empty or incomplete results.
- Using 'exact' total count mode may slow down the response time significantly.
- Network issues or incorrect API credentials can cause authentication or connection errors.
Links
- Shopware Search Queries Documentation - Official documentation on how to use filters, post-filters, sorting, and other search query parameters in Shopware.