Shopee SDK API Reference - v1.11.0
    Preparing search index...

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    config: ShopeeConfig

    Methods

    • Delete video

      Use this API to delete videos. You can delete videos with draft status or post status.

      Parameters

      • params: DeleteVideoParams

        Parameters for deleting video

        • Optionalpost_id_list?: string[]
        • OptionalpostIdList?: string[]

          You can only select one from video_upload_id_list and post_id_list: - If you want to delete video with draft status, please pass video_upload_id_list.- If you want to delete video with post status, please pass post_id_list.

        • Optionalvideo_upload_id_list?: string[]
        • OptionalvideoUploadIdList?: string[]

          You can only select one from video_upload_id_list and post_id_list: - If you want to delete video with draft status, please pass video_upload_id_list.- If you want to delete video with post status, please pass post_id_list.

      Returns Promise<DeleteVideoResponse>

      A promise that resolves to the delete response containing:

      • successList: List of videos deleted successfully
      • failureList: List of videos that failed to delete