You are reading the documentation for SDK v2, which is no longer the latest version. Switch to current
addMultipleToMyShoppingList
Endpoint for adding multiple items to the wishlist. By default, it uses the addMultipleToMyShoppingListDefaultQuery GraphQL query
Signature
export declare function addMultipleToMyShoppingList(
context: SetupContext,
params: AddMultipleToMyShoppingListParams,
customQuery?: CustomQuery,
responseOptions?: ResponseOptions
): Promise<any>;Parameters
| Name | Required | Type | Description |
|---|---|---|---|
context | Required | SetupContext | Automatically injected context. Refer to SetupContext |
params | Required | AddMultipleToMyShoppingListParams | Product SKUs and wishlist information |
customQuery | Optional | CustomQuery | Custom queries included in the request |
responseOptions | Optional | ResponseOptions |
Returns
Whole user wishlist with all items