Amazon Selling Partner API (SP-API) SDK for TypeScript
    Preparing search index...

    The request body for creating a media asset. Uses the unified media shape as a subset, omitting system-derived fields.

    interface CreateMediaRequest {
        descriptions?: Description[];
        mediaId?: string;
        mediaType: MediaType;
        relatedMedia?: RelatedMediaInput[];
        title?: string;
        uploadDestinationId?: string;
    }
    Index
    descriptions?: Description[]

    A list of locale-keyed accessibility descriptions. At least one entry is required for video assets.

    mediaId?: string

    An existing media asset identifier for reuse. Mutually exclusive with uploadDestinationId.

    mediaType: MediaType
    relatedMedia?: RelatedMediaInput[]

    A list of related media inputs for creation.

    title?: string

    An optional title for the media asset. For standalone images, defaults to filename if not provided. Not applicable for videos (video title is derived from the filename).

    uploadDestinationId?: string

    The S3 upload destination identifier from the createUploadDestination operation. Mutually exclusive with mediaId.