setProductInWishlist

abstract fun setProductInWishlist(productIds: List<String>, inWishlist: Boolean)

Updates the wishlist status of a product.

Parameters

productIds

The ID of the products to update

inWishlist

Whether the product should be in the wishlist (true) or not (false)