Shopping List Mobile API
This functionality provides a simple way to integrate Whisk’s add-to-basket functionality into your mobile application, allowing you to send items and recipes to an online grocery basket.
Using this API you can generate URLs (we call these "transfer URLs") which pass your content to the Whisk basket experience. In your application you add a button, such as “Order ingredients”, which opens this URL in a web browser. This allows the user to choose a retailer, select store products, and send everything to their online basket.
There are three ways to add items with transfer URLs:
rawItems- full string containing quantity, unit, and product. “E.g. 250g cheddar cheese”
items- structured item data with separate fields for quantity, unit, product.
recipes- recipes are identified by URL or unique Whisk ID.
The endpoint is:
When you send items Whisk automatically matches them to appropriate store items at all available retailers. Whisk’s matching algorithm uses various factors including: available store items, quantity, brand, attributes, and price.
Here is a basic example sending items and recipes:
The response will contain a url which should be opened in the user’s mobile web browser - not inside WebViews. This opens the Whisk basket experience and allows users to select their store, choose store items, and send items to their basket.
Note: Generated urls are valid for 14 days and are then expired.