Home > @vsf-enterprise/commercetools-api > getMyShoppingList

# getMyShoppingList() function

Endpoint for retrieving wishlist for a current user. By default, it uses the getMyShoppingListDefaultQuery GraphQL query

Signature:

export declare function getMyShoppingList(context: Context, customQuery?: CustomQuery): Promise<GetMyShoppingListResponse>;

# Parameters

Parameter Type Description
context Context Automatically injected context. Refer to Context
customQuery CustomQuery Custom queries included in the request

Returns:

Promise<GetMyShoppingListResponse>

  • User data