Home > @shopware-pwa/shopware-6-client > getWishlistProducts
# getWishlistProducts() function
Fetch a current Wishlist with added products
Signature:
export declare function getWishlistProducts(criteria?: ShopwareSearchParams, contextInstance?: ShopwareApiInstance): Promise<CustomerWishlistResponse>;
# Parameters
| Parameter | Type | Description |
|---|---|---|
| criteria | ShopwareSearchParams | |
| contextInstance | ShopwareApiInstance |
Returns:
Promise<CustomerWishlistResponse>
# Exceptions
ClientApiError
# Remarks
Only for logged-in users