Shopping List Mobile API Examples
This functionality allows you to send items and recipes to a basket, below are some common use cases.
You can send one or more items using
You can send one or more recipes to the basket.
You can use
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.
Note: To make your recipes shoppable they must be understood by Whisk, to check how we’ve parsed your recipe go to the recipe validator.
You can customize the experience using additional parameters when sending items. For example, you can set the
zipcode to show stores relevant to the users 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.
Note: Although Whisk performs automatic language detection we recommended you submit language explicitely so that Whisk can apply the correct NLP (to analyize your content and match it to store items).