Appearance
removeWishlistProduct
Definition
Delete a product with a specific ID from the wishlist
Signature
ts
export async function removeWishlistProduct(
productId: string,
contextInstance: ShopwareApiInstance = defaultInstance
): Promise<{
apiAlias: string;
success: boolean;
}>
Parameters
Name | Type | Description |
---|---|---|
productId | string | ID of the product to remove from the wishlist |
contextInstance | ShopwareApiInstance | instance of the api client (by default it's an Axios instance) |
Return type
ts
Promise<{
apiAlias: string;
success: boolean;
}>
Usage example
WARNING
Example is generated automatically. Sometimes it's required to be adjusted to your needs.