Overview
This node integrates with the Amazon Product Advertising API to retrieve detailed product information from Amazon. Specifically, the "Get Items" operation allows users to fetch data about specific products by providing their ASINs (Amazon Standard Identification Numbers). This is useful for scenarios such as price comparison, affiliate marketing, inventory management, or enriching product catalogs with up-to-date Amazon data.
For example, an affiliate marketer can input a list of ASINs to get current product details and prices to display on their website. Similarly, e-commerce platforms can use this node to synchronize product information from Amazon.
Properties
| Name | Meaning |
|---|---|
| Partner Tag | Amazon Partner Tag used for affiliate tracking; overrides the default if provided here. |
| Item IDs | Comma-separated list of ASINs (Amazon product identifiers) for which to retrieve details. |
Output
The node outputs an array containing one object per execution input item. Each object has a json field that holds the raw response from the Amazon Product Advertising API's GetItems endpoint. This response includes detailed product information such as title, images, pricing, availability, and other metadata related to the requested ASINs.
No binary data output is produced by this operation.
Dependencies
- Requires an active Amazon Product Advertising API credential with:
- Access Key
- Secret Key
- Default Partner Tag (can be overridden by input property)
- Marketplace identifier
- The node depends on the external
amazon-paapilibrary to interact with the Amazon API. - Proper configuration of these credentials in n8n is necessary before using the node.
Troubleshooting
- Missing Partner Tag: If neither the input property nor the credentials provide a Partner Tag, the node will throw an error stating it is required.
- Missing Item IDs: The node requires at least one ASIN to be specified for the Get Items operation. Omitting this will cause an error.
- API Request Errors: Network issues, invalid credentials, or exceeding API rate limits may cause errors. The node logs the error and throws a descriptive message.
- Invalid ASIN Format: Providing incorrectly formatted ASINs may result in empty or error responses from the API.
- To resolve errors, verify credentials, ensure correct input parameters, and check network connectivity.