Request parameters for createUploadDestinationForResource operation in UploadsApi.

UploadsApiCreateUploadDestinationForResourceRequest

interface UploadsApiCreateUploadDestinationForResourceRequest {
    contentMD5: string;
    contentType?: string;
    marketplaceIds: string[];
    resource: string;
}

Properties

contentMD5: 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.

UploadsApiCreateUploadDestinationForResource

contentType?: string

The content type of the file you upload.

UploadsApiCreateUploadDestinationForResource

marketplaceIds: string[]

The marketplace ID is the globally unique identifier of a marketplace. To find the ID for your marketplace, refer to Marketplace IDs.

UploadsApiCreateUploadDestinationForResource

resource: string

The upload destination for your resource. For example, if you create an upload destination for the `createLegalDisclosure` operation of the Messaging API, the `{resource}` would be `/messaging/v1/orders/{amazonOrderId}/messages/legalDisclosure`, and the entire path would be `/uploads/2020-11-01/uploadDestinations/messaging/v1/orders/{amazonOrderId}/messages/legalDisclosure`. If you create an upload destination for an Aplus content document, the `{resource}` would be `aplus/2020-11-01/contentDocuments` and the path would be `/uploads/2020-11-01/uploadDestinations/aplus/2020-11-01/contentDocuments`.

UploadsApiCreateUploadDestinationForResource

MMNEPVFCICPMFPCPTTAAATR