The Reviews API lets customers rate bakeries after completing an order. Each completed order allows exactly one review. Submitting a review automatically recalculates and updates the bakery’sDocumentation 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.
rating and totalReviews fields.
Review object
Unique review ID.
ID of the reviewed bakery.
Firebase UID of the reviewer.
Reviewer’s display name.
ID of the completed order being reviewed.
Rating from 1 to 5.
Review text.
Creation epoch ms.
GET /api/v1/reviews
Returns paginated reviews for a bakery. Public endpoint. Auth required: NoID of the bakery.
Page number. Default:
1.Results per page. Default:
20.POST /api/v1/reviews
Creates a review for a bakery. Requires a completed order from the authenticated user. Auth required: Yes — CUSTOMERPass the reviewer’s display name in the
X-User-Name request header. It is stored on the review and shown publicly. If omitted, it defaults to "Cliente".ID of the completed order to review.
Rating from 1 to 5.
Optional review text.
GET /api/v1/reviews/me
Returns all reviews written by the authenticated customer. Auth required: Yes — CUSTOMERGET /api/v1/reviews/can-review/
Checks whether the authenticated user can review a given order (order is COMPLETED and not yet reviewed). Auth required: Yes — CUSTOMEROrder ID to check.
canReview: true means the order is reviewable (completed and not yet reviewed).