Shopware icon

Shopware

Shopware

Actions778

Product Cross Selling Assigned Products → Search Product Cross Selling Assigned Products

AI-generated

Overview

This node performs a search operation for Product Cross Selling Assigned Products in a Shopware system. It allows users to query assigned products with various filters, sorting, pagination, and other search parameters. This is useful for retrieving specific cross-selling product data based on criteria such as page number, limit, filters, sorting order, and more, enabling efficient data retrieval for e-commerce management or integration scenarios.

Use Case Examples

  1. Retrieve the first page of cross-selling assigned products with a limit of 20 items per page.
  2. Search for cross-selling assigned products filtered by specific product IDs or attributes.
  3. Sort the search results by a particular field, such as product name or relevance.
  4. Use aggregations and groupings to analyze cross-selling product data in different ways.

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 pages).
Ids JSON array of specific IDs to search for.
Includes JSON object specifying fields to include for given entities, used to control returned data fields.
Request Options Node-level settings for batching, SSL certificate validation, proxy, and timeout configuration.

Output

JSON

  • data - The array of Product Cross Selling Assigned Products returned by the search.
  • total - The total number of matching items found by the search.
  • aggregations - Aggregation results if any aggregations were requested.

Dependencies

  • An API key credential for Shopware Admin API authentication

Troubleshooting

  • Ensure the API credentials are correctly configured and have sufficient permissions to access Product Cross Selling Assigned Products.
  • Verify that the JSON input for filters, sorting, and other parameters is correctly formatted to avoid parsing errors.
  • If the total count mode is set to 'exact', expect slower response times for large datasets.
  • Check network settings if using proxy or if SSL certificate validation is disabled, as these can affect connectivity and security.

Links

Discussion