retailer: "walmart" with intent: "add_to_cart" or
intent: "product_detail". Add-to-cart accepts one or more Walmart item IDs; product detail
requires exactly one.
Basic add-to-cart
This creates a direct add-to-cart link from the product IDs in the request.Product fields
Smart-select
Walmart smart-select resolves offers and may include a store ID in the generated cart URL. You can sendlocation.storeId when you already know the store to use, but it is not required for a basic
add-to-cart link.
Without a store hint, Walmart requests can still create a direct add-to-cart URL from the product
IDs you send.
Walmart options
The effective defaults are
fallbackMode: "items", preferItemsForWalmart: true, and
preferOffersForMarketplace: false. They match links created in the Incarts dashboard.
Product detail
Useintent: "product_detail" with exactly one item when you want a tracked Walmart product page
instead of a cart.
Create link endpoint
Full schema, request playground, and response codes.
