Create Review
Request Body
ID of the trip booking being reviewed
ID of the tour being reviewed
ID of the guide being reviewed
ID of the tourist submitting the review
Rating from 1 to 5 stars
Review comment text
Number of likes (default: 0)
Number of replies (default: 0)
Response
Unique identifier for the review
ID of the trip booking
ID of the tour
ID of the guide
ID of the tourist
Rating value (1-5)
Review comment
Number of likes
Number of replies
Timestamp when the review was created
Timestamp when the review was last updated
Timestamp when the review was deleted (if applicable)
Get All Reviews
Response
Returns an array of review objects with the same structure as the create review response.Get Review by ID
Path Parameters
The review ID
Response
Returns a single review object.Update Review
Path Parameters
The review ID
Request Body
All fields from the create request are optional. Only provide the fields you want to update.Updated rating (1-5)
Updated comment text
Response
Returns the updated review object.Delete Review
Path Parameters
The review ID