Overview
This node integrates with Shopware 6, an e-commerce platform, to retrieve data from various entities such as categories, customers, orders, and products. It is designed to fetch specific information based on the selected entity and operation, making it useful for workflows that require synchronization or analysis of Shopware data.
Common scenarios include:
- Extracting category details to update a product catalog.
- Retrieving customer information for marketing automation.
- Fetching order data for fulfillment or reporting.
- Accessing product data for inventory management.
For example, selecting the "Get Category" operation under the "category" entity allows you to pull detailed category data from your Shopware store into your workflow.
Properties
| Name | Meaning |
|---|---|
| Entity | The type of Shopware data to work with. Options: category, customer, order, product. |
| Operation | The specific action to perform on the selected entity (e.g., "Get Category"). |
The node dynamically loads available operations and their input properties based on the chosen entity, so additional properties may appear depending on the operation selected.
Output
The node outputs JSON data representing the results fetched from Shopware according to the selected entity and operation. The structure of the JSON output depends on the operation but generally includes the relevant fields of the requested Shopware entity (e.g., category details when fetching categories).
If binary data were involved, it would be summarized accordingly; however, this node primarily deals with JSON data retrieval.
Dependencies
- Requires an API key credential for authenticating with the Shopware 6 API.
- Dynamically imports operation handlers from local files within the node's
operationsdirectory. - Uses Node.js modules for file path handling and glob pattern matching to load operations and properties.
No additional external services beyond Shopware's API are required.
Troubleshooting
- Missing or invalid API credentials: Ensure the API key credential is correctly configured in n8n to allow access to Shopware.
- Operation not found or unsupported entity: Selecting an operation or entity that does not exist will result in no execution or errors. Verify the entity and operation names.
- Dynamic import failures: If the node cannot load operation handlers due to missing files or incorrect paths, check the node installation and file integrity.
- Empty or unexpected output: Confirm that the Shopware instance contains data for the requested entity and that the API user has sufficient permissions.