Shopware icon

Shopware

Shopware

Actions778

Product Download → Search Product Download

AI-generated

Overview

This node operation allows searching for product downloads within the Shopware platform. It supports detailed search queries with pagination, filtering, sorting, and other advanced search options. This is useful for scenarios where you need to retrieve specific product download data based on various criteria, such as filtering by attributes, sorting results, or limiting the number of results per page.

Use Case Examples

  1. Retrieve the first page of product downloads with a limit of 10 items per page.
  2. Search product downloads filtered by specific attributes using JSON filters.
  3. Sort product downloads by a particular field and apply grouping or aggregations for analytical purposes.

Properties

Name Meaning
Page The page number of the search results to retrieve.
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 the aggregation results.
Associations A JSON object defining related entities to include in the search results.
Aggregations A JSON array specifying 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 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 at the API level.

Output

JSON

  • data - The search results containing product download records matching the query.
  • total - The total number of matching product download records, depending on the total count mode.

Dependencies

  • An API key credential for Shopware Admin API

Troubleshooting

  • Ensure the JSON input for filters, sort, post-filter, associations, aggregations, grouping, fields, ids, and includes is correctly formatted to avoid parsing errors.
  • If the API returns errors related to authentication, verify that the Shopware Admin API credentials are correctly configured and valid.
  • Timeouts can occur if the server is slow or the timeout setting is too low; consider increasing the timeout in request options.
  • If SSL certificate validation fails and you trust the endpoint, enable the option to ignore SSL issues in the request options.

Links

Discussion