Actions10
Overview
This node integrates with the Shopware Admin API to manage various resources such as orders, products, and customers. Specifically for the Product - Get operation, it retrieves detailed information about a single product by its unique ID. This is useful when you need to fetch up-to-date product details from your Shopware store within an automated workflow.
Common scenarios include:
- Fetching product details before updating inventory or pricing.
- Retrieving product information to display or process in other systems.
- Validating product existence or attributes during order processing.
Example: You can use this node to get a product's data by specifying its ID, then use that data downstream to update stock levels or synchronize with another database.
Properties
Name | Meaning |
---|---|
Resource | The type of resource to interact with. For this node, "Product" is selected. |
Operation | The action to perform on the resource. Here, "Get" means retrieving a single product by ID. |
ID | The unique identifier of the product to retrieve. This is required to specify which product to fetch. |
Output
The output is a JSON array where each item corresponds to one input item processed. For the "Get Product" operation, each output item contains the full JSON representation of the requested product as returned by the Shopware Admin API.
The structure includes all product fields available via the API, such as name, description, price, stock, and any other metadata associated with the product.
No binary data is output by this operation.
Dependencies
- Requires an active connection to the Shopware Admin API using an API key credential configured in n8n.
- The node uses the base URL from the credential configuration to construct API requests.
- Proper permissions on the API key are necessary to read product data.
Troubleshooting
Error: "ID of the resource to get" missing or invalid
Ensure the "ID" property is provided and correctly references an existing product ID in Shopware.API authentication errors
Verify that the API key credential is valid, has not expired, and has sufficient permissions to access product data.Resource not found or 404 errors
Confirm the product ID exists in the Shopware system. A wrong or deleted ID will cause a "not found" error.Network or connectivity issues
Check network access to the Shopware API endpoint and ensure no firewall or proxy blocks the request.Unexpected API response or malformed data
If the API changes or returns unexpected data, verify the Shopware API version compatibility with the node.
Links and References
- Shopware Admin API Documentation – Official API docs for understanding product endpoints and data structures.
- n8n Documentation – General guidance on using credentials and HTTP request nodes.