Amazon Selling Partner icon

Amazon Selling Partner

Interact with Amazon Selling Partner API

Overview

This node interacts with the Amazon Selling Partner API to retrieve order items for a specified Amazon order. It is useful for sellers who want to programmatically access detailed information about the items within a particular order, such as for order fulfillment, inventory management, or sales analysis. For example, a seller can input an Amazon order ID and get a list of all items in that order, optionally retrieving all items across paginated results automatically.

Use Case Examples

  1. Retrieve all items for a specific Amazon order by providing the order ID and setting 'Return All Items' to true.
  2. Fetch a limited number of items from an order by providing the order ID and setting 'Return All Items' to false.

Properties

Name Meaning
Order ID The Amazon-defined order identifier in 3-7-7 format, used to specify which order's items to retrieve.
Return All Items Boolean flag indicating whether to return all order items by automatically handling pagination.

Output

JSON

  • orderItems - Array of order item objects retrieved from the specified Amazon order.

Dependencies

  • Requires Amazon Selling Partner API credentials including API authentication token and endpoint configuration.

Troubleshooting

  • Common issues include invalid or incorrectly formatted Order ID, which will cause the API to return errors. Ensure the Order ID follows the 3-7-7 format.
  • API authentication errors may occur if credentials are missing or invalid. Verify that the Amazon Selling Partner API credentials are correctly configured in n8n.
  • Pagination handling errors may arise if 'Return All Items' is set incorrectly or if the API limits are exceeded. Adjust the 'Return All Items' setting accordingly.

Links

Discussion