Whisk Docs
Whisk HomeHelp CenterDeveloper Tools
v1.0.0
v1.0.0
  • Overview
  • Guides
    • Creating An Account
    • Getting Started
    • Whisk Sandbox
  • API
    • Authentication
      • Server Token
      • Client Token
      • User Access Token
      • Anonymous Access
    • Recipes
      • Get Recipe
      • Get Recipe Categories
      • Recipe Objects
    • Recipe Discovery
      • Recipe Feed
      • Recipe Search
      • Get Similar Recipes
    • Shopping Lists
      • Get Shopping Lists
      • Create A Shopping List
      • Add Items To A Shopping List
      • List Analysis
    • Meal Plans
      • Meal Plan Management
      • Delete Meals
      • Auto-Generator
      • Error Handling
    • Retailers
      • Get Available Stores
      • Retailers Checkout Flow
      • Retailer Aliases
      • OAuth Retailer Flow
      • Retailer User Info
      • Search Store Items
    • Carts
      • Create a Cart
      • Update Cart Item
      • Splitting Combined Items
      • Add Items To Cart
      • Add Recipes To Cart
      • Get Cart Item Options
      • Swap Cart Item Product
      • Delete A Cart Or A Cart Item
      • Checkout
    • Users
      • Get A User
      • Update A User
    • User Recipes & Collections
      • Add User Recipe
      • Create A Recipe
      • Update External Recipe
      • Get All User Recipes
      • Update User Recipe
      • Remove Recipe from Favorites
      • Create Collection
      • Get All User Collections
      • Get Collection
      • Get Recipes from a Collection
      • Remove Collection
    • Tools
      • Autocomplete
  • Shopping List SDK
    • Overview
    • Examples
      • Shoppable Recipes
      • Shoppable Products
      • Shoppable Media
    • Basic Setup
      • Basic Setup
      • Methods
      • Event Listeners
      • Widget
      • Subscriptions
      • Global Configuration
      • UTM Parameters
      • Using With SPA
  • Shopping List Mobile API
    • Overview
    • Examples
    • Reference
  • Tips and Tricks
    • Object IDs
    • URL Lookup
    • Searching
    • Multiple IDs request
  • Resources
    • Nutrients
    • Recipe Labels
    • Health Score, Glycemic Index, Glycemic Load
    • Whisk User Data
    • Supported Retailers
    • Optimizing Image Load
Powered by GitBook
On this page
  • Parameters
  • Response
  • Store Item
  • Paging
  • Cursors
  • Sample Request
  • Sample Response

Was this helpful?

  1. API
  2. Retailers

Search Store Items

GET

/v1/search?type=storeItem

Search store items by product name in a specific store.

Parameters

ATTRIBUTE

TYPE

DESCRIPTION

retailerId*

string

Retailer identifier. (short names can be used)

q*

string

Product name.

limit

integer

This is the maximum number of objects that may be returned. Default value: 16

before

string

This is the cursor to return data on a page before it.

after

string

This is the cursor to return data from the next page.

Response

ATTRIBUTE

TYPE

DESCRIPTION

items*

array [CartProductOption]

paging*

Paging

Store Item

ATTRIBUTE

TYPE

DESCRIPTION

sku*

string

store item identifier

name*

string

store item name

quantity*

CartProductQuantity

quantity of product items

price

CartItemPrice

price for the number of products

images*

array [ImageContainer]

url

string

link to the product page in the store

Paging

ATTRIBUTE

TYPE

DESCRIPTION

cursors*

Cursors

Cursors

ATTRIBUTE

TYPE

DESCRIPTION

after

string

before

string

Sample Request

curl "https://graph.whisk.com/v1/search?type=storeItem&retailerId=tesco&q=milk" \
    -H "Accept: application/json" \
    -H "Authorization: Token <Access-Token>"

Sample Response

{
  "items": [
    {
      "sku": "272103606",
      "name": "Alpro Hazelnut Fresh Milk Alternative Longlife Milk Alternative 1 L",
      "quantity": {
        "count": 1
      },
      "price": {
        "list": 1.8
      },
      "images": [
        {
          "url": "https://img.tesco.com/Groceries/pi/866/5411188110866/IDShot_540x540.jpg"
        }
      ],
      "url": "https://www.tesco.com/groceries/en-GB/products/272103606"
    },
    ...
    {
      "sku": "251500030",
      "name": "Tesco Organic British Whole Milk 2.272L/4 Pints",
      "quantity": {
        "count": 1
      },
      "price": {
        "list": 1.84
      },
      "images": [
        {
          "url": "https://img.tesco.com/Groceries/pi/112/5050179762112/IDShot_540x540.jpg"
        }
      ],
      "url": "https://www.tesco.com/groceries/en-GB/products/251500030"
    }
  ],
  "paging": {
    "cursors": {
      "after": "eyJpZCI6IjI1MTUwMDAzMCIsImluZGV4Ijo5fQ=="
    }
  }
}
PreviousRetailer User InfoNextCarts

Last updated 5 years ago

Was this helpful?