Skip to content

getWishlistProducts

getWishlistProducts

Definition

Fetch a current Wishlist with added products

Signature

ts
export async function getWishlistProducts(
  criteria?: ShopwareSearchParams,
  contextInstance: ShopwareApiInstance = defaultInstance,
): Promise<CustomerWishlistResponse>

Parameters

NameTypeDescription
criteria
ShopwareSearchParams
search criteria for products
contextInstance
ShopwareApiInstance
instance of the api client (by default it's an Axios instance)

Return type

ts
Promise<CustomerWishlistResponse>

Usage example

WARNING

Example is generated automatically. Sometimes it's required to be adjusted to your needs.

Open in StackBlitz