retailer: "instacart" and intent: "product_detail", intent: "shopping_list", or intent: "recipe".
Your API key must include the retailers:instacart scope.
Retailer routing
For Instacart, the top-levelretailer: "instacart" identifies the link provider — not the grocery store.
Choose which store the shopper lands on with options.instacart.
Use GET /v1/retailers to find the values accepted by each Instacart link type.
- Use
usage.shoppingList.retailerIdasoptions.instacart.retailerIdfor shopping list links. - Use
usage.recipe.retailerIdasoptions.instacart.retailerIdfor recipe links. - Use
usage.productDetail.retailerasoptions.instacart.retailerfor product detail links.
Specific store
UseroutingMode: "specific" when you know the exact store.
For product detail links, send retailer with the Instacart store slug. Incarts appends it as
retailerSlug on the Instacart product URL.
For shopping list and recipe links, provide retailerId (the Instacart numeric ID) for precise
routing.
Preferred stores
UseroutingMode: "preferred" with an ordered list of store slugs. Incarts tries each in order.
No preference
UseroutingMode: "no_preference" (the default) to let Instacart choose the store automatically.
Product detail links
Setintent: "product_detail" and provide exactly one item in products. Use the Instacart product
ID from the /products/{id} path, not a UPC.
For a retailer-specific product page such as
https://www.instacart.com/products/98343-pepsi-cola-16-9-fl-oz?retailerSlug=walgreens, send
retailerProductId: "98343" and options.instacart.retailer: "walgreens".
Shopping list links
Setintent: "shopping_list" and provide options.instacart.shoppingList with a title and line items.
Shopping list fields
Recipe links
Setintent: "recipe" and provide options.instacart.recipe with a title and ingredients.
Recipe fields
Landing page configuration
Line item and ingredient fields
Shopping list line items and recipe ingredients share the same field structure.Filters
Create link endpoint
Full schema, request playground, and response codes.
Find retailers endpoint
Search supported Instacart retailers and copy the right routing values.
