setProductInWishlist

abstract fun setProductInWishlist(productId: String, inWishlist: Boolean)

Updates the wishlist status of a product.

Parameters

productId

The ID of the product to update

inWishlist

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