Alokai
You are reading the documentation for SDK v2, which is no longer the latest version. Switch to current

removeFromMyShoppingList

Endpoint for removing products from the wishlist. By default, it uses the addToMyShoppingListDefaultQuery GraphQL query

Signature

export declare function removeFromMyShoppingList(
	context: SetupContext,
	params: RemoveFromMyShoppingListParams,
	customQuery?: CustomQuery,
	responseOptions?: ResponseOptions
): Promise<RemoveFromMyShoppingListResponse>;

Parameters

NameRequiredTypeDescription
contextRequiredSetupContextAutomatically injected context. Refer to SetupContext
paramsRequiredRemoveFromMyShoppingListParamsProduct IDs and cart information
customQueryOptionalCustomQueryCustom queries included in the request
responseOptionsOptionalResponseOptions

Returns

User wishlist

Referenced Types

On this page