Create an upload destination
Learn how to use the Uploads API to create an upload destination.
Learn how to use the Uploads API to create an upload destination. Use the createUploadDestinationForResource
operation to create a destination to upload a file. This operation returns a destination identifier and authorization information that you can use to upload a file. After you upload a file, you can programmatically access the file with the destination identifier.
Prerequisites
To complete this tutorial, you need:
- Authorization from the selling partner for whom you are making calls. For more information, refer to Authorizing Selling Partner API applications.
- The Product Listing role assigned to your developer profile.
- The Product Listing role selected in the app registration page for your application.
Step 1. Create an upload destination
Call the createUploadDestinationForResource
to create a destination. Amazon returns a destination identifier and authorization information for uploading a file.
Step 2. Upload the file
Upload your file and use the destination identifier and authorization information provided in the previous step.
Step 3. Access the file
Access the file with an API call that includes the destination identifier.
The A+ Content API Use Case Guide provides detailed implementation information for the Uploads API in the context of the workflows of other Selling Partner APIs.
Updated about 9 hours ago