Shopware icon

Shopware

Shopware

Actions778

Product Manufacturer → Search Product Manufacturer

AI-generated

Overview

This node operation allows searching for product manufacturers within the Shopware platform. It supports detailed search queries with pagination, filtering, sorting, and other advanced search options. This is useful for retrieving specific manufacturer 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 a paginated list of product manufacturers with a limit of 10 per page.
  2. Search for product manufacturers using specific filters to narrow down results.
  3. Sort product manufacturers by name or creation date.
  4. Use aggregations and groupings to analyze manufacturer data.

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 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, affecting API-level field stripping.

Output

JSON

  • data - The array of product manufacturer objects returned from the search.
  • total - The total number of product manufacturers matching the search criteria.
  • aggregations - Aggregation results based on the search query, if any.

Dependencies

  • An API key credential for Shopware Admin API

Troubleshooting

  • Ensure the API credentials are correctly configured and have the necessary permissions to access product manufacturer 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 query might be slower due to the calculation of the exact total count.
  • Check network connectivity and proxy settings if requests fail or time out.
  • If SSL issues occur, consider enabling the option to ignore SSL certificate validation, but only if you trust the network environment.

Links

Discussion