The Favorites API lets customers save their preferred bakeries for quick access. The toggle endpoint adds the bakery if not already saved, or removes it if it is — a single call handles both actions.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/favorites
Returns the authenticated customer’s favorited bakeries as fullBakery objects.
Auth required: Yes — CUSTOMER
POST /api/v1/favorites/
Toggles a bakery as a favorite. Adds it if not saved; removes it if already saved. Auth required: Yes — CUSTOMERID of the bakery to toggle.
isFavorite: true means the bakery is now saved; isFavorite: false means it was removed.
GET /api/v1/favorites//status
Checks if a specific bakery is in the customer’s favorites. Auth required: Yes — CUSTOMERBakery ID to check.
DELETE /api/v1/favorites/
Explicitly removes a bakery from favorites. Auth required: Yes — CUSTOMERBakery ID to remove.