@plentymarkets/shop-api / deleteWishlistItem
Function: deleteWishlistItem() ​
deleteWishlistItem(
context
,params
):Promise
<Data
<boolean
>>
Method deleteWishlistItem - Deletes a product from the wishlist of the logged-in user.
Parameters ​
• context: PlentysystemsIntegrationContext
• params: DeleteWishlistItemParams
Returns ​
Promise
<Data
<boolean
>>
Remarks ​
- Calls /rest/storefront/wishlist
- This method is used to delete a product from the wishlist of the logged-in user.
Example ​
ts
const { data } = await useSdk().plentysystems.deleteWishlistItem({
variationId: 1100,
});