Shopware icon

Shopware

Shopware

Actions778

Number Range Type → Search Number Range Type

AI-generated

Overview

This node performs a search operation on the 'Number Range Type' resource in the Shopware system. It allows users to query number range types with various parameters such as pagination, filtering, sorting, and aggregation. This is useful for retrieving specific number range types based on complex search criteria, for example, to manage or analyze number ranges used in a Shopware store.

Use Case Examples

  1. Search for number range types with specific filters and sorting to display in a dashboard.
  2. Retrieve a paginated list of number range types with custom fields and aggregations for reporting.

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 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 specifying aggregations to perform on the search results.
Grouping A JSON array defining fields to group the search results by.
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

  • total - Total number of matching number range types found.
  • elements - Array of number range type objects returned by the search.
  • 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 number range types.
  • Verify that JSON inputs for filters, sorting, and other parameters are correctly formatted to avoid parsing errors.
  • If pagination parameters (page, limit) are set incorrectly, the search results may be empty or incomplete.
  • Using 'exact' total count mode may slow down the search; consider using 'none' or 'next-pages' for better performance.

Links

Discussion