Home > @shopware-pwa/shopware-6-client > mergeWishlistProducts
# mergeWishlistProducts() function
Merge the current Wishlist with a products with provided IDs
Signature:
export declare function mergeWishlistProducts(productIds: string[], contextInstance?: ShopwareApiInstance): Promise<{
apiAlias: string;
success: boolean;
}>;
# Parameters
Parameter | Type | Description |
---|---|---|
productIds | string[] | |
contextInstance | ShopwareApiInstance |
Returns:
Promise<{ apiAlias: string; success: boolean; }>
# Exceptions
ClientApiError
# Remarks
Only for logged-in users