The Search API lets customers find bakeries and products with a single query. It searches bakery names and product names and categories simultaneously, returning both matching bakeries and matching products with their parent bakery info.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/AndrewwCO/Panahashi-Backend/llms.txt
Use this file to discover all available pages before exploring further.
GET /api/v1/search
Auth required: NoSearch term (minimum 2 characters). Matched against bakery names and product names/categories.
User latitude. Required if using radius filtering.
User longitude. Required if using radius filtering.
Filter radius in kilometers. Default:
10. Only applied when lat and lng are provided.Filter products by category label.
Response
Matching active bakeries.
Matching available products with their parent bakery and optional distance.