When to use
The user has a product in mind and wants to know where to buy it near them. For identity lookups (barcode → product), useresolve-gtin. For deep stock
checks on a known GTIN, use check-product-availability.
Endpoint
Required inputs
query— free-textlatitude,longitude— decimal degrees
Optional constraints
radius_km— default 10, max 50in_stock— only include offers reporting in stockcertification— e.g.organic,non-gmo,vegan
Response
Array of hits; each hit hasproduct (gtin, name, brand), store (name,
address, distance_km), offer (price, stock_status, last_checked_at). Take
product.gtin from any hit and pair with resolve-gtin for full detail.
Refinement
POST /search/api/v1/search/session/{session_id}/refine with updated
constraints. Keeps previous results as context.
Related skills
resolve-gtin— structured product detail for a GTIN from any hitcheck-product-availability— deeper stock check for a known GTINdietary-filter-search— search with allergen/dietary constraints