Shopware icon

Shopware

Shopware

Actions778

App Script Condition → Search App Script Condition

AI-generated

Overview

This node performs a search operation for 'App Script Condition' resources in the Shopware system. It allows users to specify various search parameters such as pagination (page and limit), filters, sorting, post-filters, associations, aggregations, grouping, fields to return, total count mode, specific IDs, and included fields. This node is useful for retrieving and querying conditions related to app scripts within Shopware, enabling detailed and customized search results based on user-defined criteria.

Use Case Examples

  1. Retrieve a paginated list of app script conditions with specific filters applied to narrow down the results.
  2. Search for app script conditions sorted by a particular field and limited to a certain number of items per page.
  3. Use aggregations and groupings to analyze app script conditions data in a summarized form.

Properties

Name Meaning
Page The page number of the search results to retrieve, used for pagination.
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 how to group the search results over certain fields.
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 for the search query, with options for none, exact, or next-pages.
Ids A JSON array of specific IDs to search for.
Includes A JSON object specifying which fields should be returned for given entities, used to control the API-level response.

Output

JSON

  • data - The array of app script condition objects returned from the search.
  • total - The total number of matching app script conditions found.
  • aggregations - Aggregation results based on the search query, if any.

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 search returns no results, verify that the filter criteria and IDs are correct and exist in the Shopware system.
  • Timeout errors may occur if the server is slow or the timeout setting is too low; increase the timeout in request options if needed.
  • SSL certificate validation errors can be bypassed by enabling the 'Ignore SSL Issues' option, but use this with caution.

Links

Discussion