Shopware icon

Shopware

Shopware

Actions778

Product → Get Product List

AI-generated

Overview

This node operation retrieves a list of products from the Shopware API. It is useful for scenarios where you need to fetch product data in bulk, such as syncing product catalogs, displaying product lists in applications, or performing batch processing on product data.

Use Case Examples

  1. Fetching the first 50 products for display in an e-commerce dashboard.
  2. Retrieving a specific page of products to process inventory updates.
  3. Querying products with a custom SwagQL query to filter or sort results.

Properties

Name Meaning
Limit Maximum number of products to return in a single page.
Page The page number of the product list to retrieve.
Query Encoded SwagQL query in JSON format to filter or customize the product list retrieval.
Request Options Additional request settings such as batching, SSL certificate validation, proxy configuration, and request timeout.

Output

JSON

  • products - Array of product objects returned from the API.
  • total - Total number of products available matching the query.
  • page - Current page number of the product list returned.
  • limit - Maximum number of products returned per page.

Dependencies

  • Shopware API with valid API credentials

Troubleshooting

  • Ensure the API credentials are correctly configured and have permission to access product data.
  • Verify that the 'limit' and 'page' parameters are set to valid numbers to avoid request errors.
  • If using a custom SwagQL query, ensure the query is properly encoded and valid according to Shopware's query language.
  • Check network settings if using a proxy or if SSL issues occur, especially if 'Ignore SSL Issues' is disabled.
  • Timeout errors may occur if the server is slow or unresponsive; consider increasing the timeout setting if needed.

Discussion