Example
var deleted = await window.WishListHero_SDK.DeleteAllWishListItems({WishlistHash: string})
Deletes all previously added wishlist events. Please refer to the example below.
You can call this method once the window.WishListHero_SDK object is initialized. This API can be used for the same scenarios as addToWishList.
Arguments
Argument
Type
Description
WishlistHash
string
Required
var deleted = await window.WishListHero_SDK.DeleteAllWishListItems({WishlistHash: string})