Amazon Selling Partner icon

Amazon Selling Partner

Interact with Amazon Selling Partner API

Data Kiosk → Get Document

AI-generated

Overview

The node interacts with the Amazon Selling Partner API's Data Kiosk resource to retrieve a specific document by its identifier. It is useful for users who need to download documents stored in Amazon's Data Kiosk, such as reports or data exports. For example, a user can specify a document ID to fetch the corresponding file and choose to receive it either as binary data or as text.

Use Case Examples

  1. Download a report document from Amazon Data Kiosk by providing its document ID and save it as a binary file for further processing.
  2. Retrieve a document as plain text for quick inspection or logging purposes.

Properties

Name Meaning
Document ID Identifier for the Data Kiosk document to be retrieved.
Output Determines how the downloaded document is returned, either as binary data or as text.
Binary Property The name of the binary property where the file will be stored if the output is set to binary.

Output

JSON

  • documentId - The identifier of the retrieved Data Kiosk document.
  • data - The content of the document, either as text or binary data depending on the output setting.

Dependencies

  • Amazon Selling Partner API credentials

Troubleshooting

  • Ensure the provided Document ID is correct and exists in the Data Kiosk; otherwise, the node will fail to retrieve the document.
  • Check that the Amazon Selling Partner API credentials are valid and have the necessary permissions to access Data Kiosk documents.
  • If the output is set to binary, verify that the binary property name does not conflict with existing properties to avoid data overwriting.

Discussion