Represents a file uploaded to a destination that was created by the createUploadDestinationForResource operation of the Selling Partner API for Uploads.

Attachment

interface Attachment {
    fileName: string;
    uploadDestinationId: string;
}

Properties

fileName: string

The name of the file, including the extension. This is the file name that will appear in the message. This does not need to match the file name of the file that you uploaded.

Attachment

uploadDestinationId: string

The identifier of the upload destination. Get this value by calling the createUploadDestinationForResource operation of the Uploads API.

Attachment