Shopware icon

Shopware

Shopware

Actions778

Product Cross Selling → Search Product Cross Selling

AI-generated

Overview

This node performs a search operation for Product Cross Selling data in a Shopware system. It allows users to query product cross selling information with various parameters such as pagination (page, limit), filtering, sorting, and field selection. This is useful for scenarios where you want to retrieve specific cross selling product data for analysis, display, or integration purposes.

Use Case Examples

  1. Retrieve the first page of product cross selling entries with a limit of 10 items per page.
  2. Search product cross selling data filtered by specific criteria, such as product IDs or categories.
  3. Sort the search results by a particular field, e.g., relevance or creation date.

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 criteria.
Sort A JSON array defining the sorting order of the search results.
Post Filter Filters applied after aggregations that do not affect the aggregation results.
Associations JSON object defining related entities to include in the search results.
Aggregations JSON array specifying aggregations to perform on the search results.
Grouping JSON array defining groupings over certain fields in the search results.
Fields 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 JSON array of specific IDs to search for.
Includes JSON object specifying fields to include for given entities, used to control returned data at the API level.
Request Options Settings for request behavior such as batching, SSL certificate validation, proxy usage, and timeout.

Output

JSON

  • data - The main search result data containing product cross selling entries.
  • total - The total number of matching entries found by the search.
  • aggregations - Aggregation results if any aggregations were requested.

Dependencies

  • An API key credential for Shopware Admin API access

Troubleshooting

  • Ensure the API credentials are correctly configured and have the necessary permissions to access product cross selling data.
  • 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 may be slow for large datasets.
  • Check network settings such as proxy and SSL options if requests fail or time out.

Links

Discussion