Agentic
Search products
POST
https://api.firstleeward.com/v0/agentic/products/searchSearches merchant catalogs for products matching a free-text query, with optional merchant preference and result filters. Use POST /agentic/products/details on a result to resolve its purchasable variants.
Authorizations
Authorizationstring · headerrequiredAPI key as Bearer token, e.g. Bearer YOUR_API_KEY
Headers
Leeward-Versionenum<string>requiredAPI version (YYYY-MM-DD). Available option: 2026-09-18
Body
application/json
querystringrequiredmerchantPreferenceobjectShow child attributes
modestringrequiredAvailable options:
PREFERONLYmerchantNamestringrequiredcontextobjectShow child attributes
countrystringcurrencystringfiltersobjectShow child attributes
priceobjectShow child attributes
minstringmaxstringavailabilitystringAvailable options:
AVAILABLE_ONLYpaginationobjectShow child attributes
cursorstring | nulllimitintegerResponse
200Response for status 200
idstringrequiredproductsobject[]requiredShow child attributes
idstringrequiredmerchantobjectrequiredShow child attributes
namestringrequirednamestringrequiredimageUrlstring<uri>priceRangeobjectrequiredShow child attributes
minobjectrequiredShow child attributes
amountnumberrequiredcurrencystringrequiredmaxobjectrequiredShow child attributes
amountnumberrequiredcurrencystringrequiredavailablebooleanpreviewVariantobjectShow child attributes
idstringrequirednamestringpriceobjectrequiredShow child attributes
amountnumberrequiredcurrencystringrequiredavailablebooleanpaginationobjectrequiredShow child attributes
nextCursorstring | nullrequiredhasNextPagebooleanrequiredreturnedCountintegerrequiredwarningsstring[]required400Response for status 400
Option 1 · AgenticRequestRejectedError
errorobjectrequiredShow child attributes
codestringrequiredmessagestringrequireddetailnullrequiredOption 2 · MerchantNotResolvedError
errorobjectrequiredShow child attributes
codestringrequiredmessagestringrequireddetailnullrequired404Resource not found
errorobjectrequiredShow child attributes
codestringrequiredmessagestringrequireddetailobject | nullrequired503Agentic Payments is temporarily unavailable
errorobjectrequiredShow child attributes
codestringrequiredmessagestringrequireddetailobject | nullrequired