Shopware Admin icon

Shopware Admin

Consume Shopware Admin API

Actions10

Overview

This node integrates with the Shopware Admin API to manage various resources such as orders, products, and customers. Specifically for the Customer - Get Many operation, it retrieves multiple customer records from the Shopware system. This is useful when you want to fetch a list of customers, optionally filtered by a search term or limited in number.

Common scenarios include:

  • Synchronizing customer data from Shopware into another system.
  • Displaying a list of customers for reporting or analysis.
  • Filtering customers based on search criteria for targeted marketing.

Example: Retrieve up to 10 customers whose names or emails match a specific search term.

Properties

Name Meaning
Additional Fields Collection of optional parameters:
- Limit: Max number of results to return (default 10).
- Search Term: Text to filter customers by matching fields.

Output

The node outputs an array of JSON objects representing customer records retrieved from the Shopware Admin API. Each object corresponds to one customer and contains all available customer data fields as returned by the API.

No binary data output is produced by this operation.

Dependencies

  • Requires connection to the Shopware Admin API using an API authentication credential configured in n8n.
  • The node uses the base API URL and credentials to authenticate requests.
  • No additional external dependencies beyond the Shopware Admin API and its authentication are needed.

Troubleshooting

  • Empty results: If no customers are returned, verify that the search term (if used) matches existing customers and that the limit is set appropriately.
  • Authentication errors: Ensure the API key or authentication token is valid and has sufficient permissions to read customer data.
  • API request failures: Network issues or incorrect API URLs can cause errors; check connectivity and configuration.
  • Error messages: The node throws errors with messages from the API or generic "Unknown error" if the response is unexpected. Use these messages to diagnose issues.

Links and References

Discussion