Methods
Basic shopping list methods will allow you to open or add products and recipes to the Whisk shopping list or open the Whisk add to basket screen.
Note: Basic methods do not send analytics, so you won't be able to get a dashboard. If you need tracking you can use event listeners. Also, you can use subscriptions for implementing basic tracking on your side.
whisk.shoppingList.viewList
viewList
method opens the shopping list.
Supported list of parameters is under the Common Parameters section.
whisk.shoppingList.addProductsToList
addProductsToList
method allows you to add products not bound to any recipe to a shopping list.
addProductsToList
method supports all Common Parameters, plus one extra required parameter:
whisk.shoppingList.addProductsToBasket
addProductsToBasket
method allows you to add products to online checkout basket. Note: this does not add products to the shopping list.
addProductsToBasket
method supports all parameters from the addProductsToList method.
whisk.shoppingList.addRecipeToList
addRecipeToList
method allows you to add a recipe to the shopping list.
addRecipeToList method supports all Common Parameters, plus one extra required parameter:
whisk.shoppingList.addRecipesToList
addRecipesToList
method allows you to add multiple recipes to the shopping list.
addRecipesToList method supports all Common Parameters, plus one extra required parameter:
RecipeSpec
whisk.shoppingList.addRecipeToBasket
addRecipeToBasket
method allows you to add a recipe to an online checkout basket. Note: this does not add the recipe to the shopping list.
addRecipeToBasket
method supports all parameters from the addRecipeToList method.
Common Parameters
onlineCheckout object
utm object
Last updated