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

Was this helpful?

  1. API
  2. Retailers

Retailer Aliases

PreviousRetailers Checkout FlowNextOAuth Retailer Flow

Last updated 4 years ago

Was this helpful?

Retailers can be referenced by either the full RetailerId or a Retailer Alias.

As a general rule of thumb, if you have the retailer

The Retailer alias format is:

For passing the retailer when creating a cart, you get the store info from the retailers API:

curl "" \

-H "Accept: application/json" \

-H "Authorization: Token <TOKEN>"Sample response (some data collapsed/excluded)

{ "retailers":[ { "id":"103ba72991985be40739d8bf3bdf2807504", "name":"Walmart", ... "metadata":{ "branch":"2082" } }, ... ]}

Then you can pass in either the retailer id: (recommended){ "retailerId": "103ba72991985be40739d8bf3bdf2807504",...} or the retailer-country-branch:{"retailerId": "Walmart-US-2082",...}

If you have

It is possible to use retailer alias to skip "get available retailers" phase.

The alias should be built with this rule: [RetailerName]-[Country code] e.g. AmazonFresh-GB.

If a retailer is available in only one country it is possible to use only name e.g. Tesco.

Note, that only retailers which do not require zipcode can be used as aliases. You can find retailers required zipcode in the table above.

https://graph.whisk.com/v1/retailers?country=US&zipcode=95050