Shopware icon

Shopware

Shopware

Actions778

Product Feature Set → Search Product Feature Set

AI-generated

Overview

This node performs a search operation on the Product Feature Set resource in the Shopware system. It allows users to query product feature sets with various parameters such as pagination (page and limit), filtering, sorting, post-filtering, associations, aggregations, grouping, and field selection. This is useful for retrieving specific product feature sets based on complex search criteria, for example, to display filtered product features in an e-commerce application or to analyze product feature data.

Use Case Examples

  1. Search product feature sets with a specific filter to find features related to a certain category.
  2. Retrieve a paginated list of product feature sets with sorting by creation date.
  3. Use aggregations and groupings to analyze product feature set data for reporting.

Properties

Name Meaning
Page The page number of the search results to retrieve, used for pagination.
Limit The number of items to return per page in the search results.
Filter A JSON array of filters to restrict the search results based on specific criteria.
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 aggregations to perform on the search results.
Grouping A JSON array defining groupings over certain fields in the search results.
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).
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.

Output

JSON

  • data - The array of product feature sets returned by the search.
  • total - The total number of product feature sets matching the search criteria.
  • aggregations - Aggregation results based on the search query.

Dependencies

  • An API key credential for Shopware Admin API

Troubleshooting

  • Ensure the API credentials are correctly configured and have sufficient permissions to access the Product Feature Set resource.
  • Verify that JSON inputs for filters, sorting, and other parameters are correctly formatted to avoid parsing errors.
  • If the total count mode is set to 'exact', be aware that the request might be slower due to the calculation of the exact total count.
  • Check network connectivity and proxy settings if requests fail or time out.

Links

Discussion