Download OpenAPI specification:Download
The Uploads API lets you upload files that you can programmatically access using other Selling Partner APIs, such as the A+ Content API and the Messaging API.
Creates an upload destination, returning the information required to upload a file to the destination and to programmatically access the file.
Usage Plan:
Rate (requests per second) | Burst |
---|---|
.1 | 5 |
For more information, see "Usage Plans and Rate Limits" in the Selling Partner API documentation.
resource required | string The resource for the upload destination that you are creating. For example, if you are creating an upload destination for the createLegalDisclosure operation of the Messaging API, the |
marketplaceIds required | Array of strings <= 1 items A list of marketplace identifiers. This specifies the marketplaces where the upload will be available. Only one marketplace can be specified. |
contentMD5 required | string An MD5 hash of the content to be submitted to the upload destination. This value is used to determine if the data has been corrupted or tampered with during transit. |
contentType | string The content type of the file to be uploaded. |
{- "payload": {
- "uploadDestinationId": "5d4e42b5-1d6e-44e8-a89c-2abfca0625bb",
- "headers": {
- "Content-MD5": "5d41402abc4b2a76b9719d911017c592",
- "x-amz-server-side-encryption": "aws:kms"
}
}
}