Home > @shopware-pwa/shopware-6-client > removeWishlistProduct

# removeWishlistProduct() function

Delete a product with a specific ID from the wishlist

Signature:

export declare function removeWishlistProduct(productId: string, contextInstance?: ShopwareApiInstance): Promise<{
    apiAlias: string;
    success: boolean;
}>;

# Parameters

Parameter Type Description
productId string
contextInstance ShopwareApiInstance

Returns:

Promise<{ apiAlias: string; success: boolean; }>

# Exceptions

ClientApiError

# Remarks

Only for logged-in users