Shopware icon

Shopware

Shopware

Actions778

Import Export Log → Search Import Export Log

AI-generated

Overview

This node performs a search operation on the Import Export Log resource in Shopware. It allows users to query import/export logs with various parameters such as pagination (page, limit), filtering, sorting, post-filtering, associations, aggregations, grouping, and field selection. This is useful for retrieving detailed logs of import/export activities, which can help in monitoring, debugging, and analyzing data import/export processes in Shopware.

Use Case Examples

  1. Retrieve the first page of import/export logs with a limit of 20 entries per page.
  2. Search import/export logs filtered by specific criteria such as date range or status.
  3. Sort import/export logs by creation date in descending order.
  4. Fetch specific fields from the import/export logs to optimize data retrieval.

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 conditions.
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 defining aggregation operations to perform on the search results.
Grouping A JSON array specifying 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 exact count), or next-pages (fast count for next pages).
Ids A JSON array of specific IDs to search for.
Includes A JSON object specifying fields to include for given entities, optimizing the returned data.

Output

JSON

  • data - The search results containing the import/export log entries matching the query.

Dependencies

  • Requires Shopware API credentials for authentication.

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 API returns authentication errors, verify that the Shopware API credentials are correctly configured and have the necessary permissions.
  • Timeout errors may occur if the server is slow to respond; adjust the timeout setting in request options accordingly.
  • Invalid page or limit values may result in empty or unexpected results; ensure these are set to valid numbers.

Links

Discussion