Home > @vsf-enterprise/commercetools-api > removeFromMyShoppingList
# removeFromMyShoppingList() function
Endpoint for removing products from the wishlist. By default, it uses the addToMyShoppingListDefaultQuery GraphQL query
Signature:
export declare function removeFromMyShoppingList(context: Context, params: RemoveFromMyShoppingListParams, customQuery?: CustomQuery): Promise<RemoveFromMyShoppingListResponse>;
# Parameters
Parameter | Type | Description |
---|---|---|
context | Context | Automatically injected context. Refer to Context |
params | RemoveFromMyShoppingListParams | Product IDs and cart information |
customQuery | CustomQuery | Custom queries included in the request |
Returns:
Promise<RemoveFromMyShoppingListResponse>
User wishlist