@wppconnect-team/wppconnect - v1.36.4
    Preparing search index...

    Function removeProductImage

    • Remove image on product This function remove additional images of product for change main image use

      Parameters

      • productId: string
      • index: string

        Index of array additionalImageCdnUrl

      Returns Promise<ProductModel>

      await WPP.catalog.removeProductImage('68685985868923', '0');