Examples
This functionality allows you to send items and recipes to a basket, below are some common use cases.
Sending items to basket
You can send one or more items using rawItems
or items
.
Sending recipes to basket
You can send one or more recipes to the basket.
You can use a scale to adjust quantities of all ingredients within a recipe. For example, if a recipe is for 4 servings by default, you can use scale:2 to set quantities to 8 servings or use scale:0.5 for 2 servings.
Setting additional parameters
You can customize the experience using additional parameters when sending items. For example, you can set the country and zip code to show stores relevant to the user’s region. See the Reference page for the full list.
If you don’t submit additional parameters Whisk will attempt to detect language and location automatically.
Last updated
Was this helpful?