Seller Review API
Base URL: http://localhost:8000/api/v1
Prefix: /sellers
Auth: Seller JWT bearer token
Headers: Content-Type: application/json
1. List Seller Reviews
Returns published customer reviews received by the authenticated seller or landlord.
GET
/sellers/reviews/Auth: Required
Headers
Authorization: Bearer {{access_token}}Success Example
{
"success": true,
"message": "Reviews retrieved successfully.",
"data": {
"reviews": {
"count": 1,
"next": null,
"previous": null,
"results": [
{
"id": "a8ed69c8-9290-4a73-8c60-feb7815a5087",
"customer": {
"id": "11dcc4b1-e7ef-4987-959d-08257cccb568",
"full_name": "David Miller"
},
"property": {
"id": "00aab84a-c95d-45c3-94c5-a60361434bb8",
"title": "Modern Apartment in South Congress",
"slug": "modern-apartment-in-south-congress",
"city": "Austin",
"area_name": "South Congress",
"status": "sold"
},
"transaction_type": "purchase",
"transaction_id": "15537676-b847-47be-b644-3fd15c883015",
"rating": 5,
"comment": "The seller was helpful and the transaction went smoothly.",
"created_at": "2026-10-08T10:30:00Z",
"updated_at": "2026-10-08T10:30:00Z"
}
]
}
}
}Notes
- Only reviews targeting the authenticated seller are returned.
- Only reviews with status
publishedare returned. - Hidden, rejected, and reported reviews are excluded.
- Results are ordered from newest to oldest.
- The default page size is
12;page_sizecan request up to50results. - Sellers cannot create reviews through this endpoint.
- Returns
401when authentication is missing or invalid. - Returns
403when the authenticated account does not have a seller role. - Returns
405when an unsupported method such asPOSTis used.
2. Get Seller Review
Returns one published review received by the authenticated seller or landlord.
GET
/sellers/reviews/{review_id}/Auth: Required
Headers
Authorization: Bearer {{access_token}}Success Example
{
"success": true,
"message": "Review retrieved successfully.",
"data": {
"review": {
"id": "a8ed69c8-9290-4a73-8c60-feb7815a5087",
"customer": {
"id": "11dcc4b1-e7ef-4987-959d-08257cccb568",
"full_name": "David Miller"
},
"property": {
"id": "00aab84a-c95d-45c3-94c5-a60361434bb8",
"title": "Modern Apartment in South Congress",
"slug": "modern-apartment-in-south-congress",
"city": "Austin",
"area_name": "South Congress",
"status": "sold"
},
"transaction_type": "purchase",
"transaction_id": "15537676-b847-47be-b644-3fd15c883015",
"rating": 5,
"comment": "The seller was helpful and the transaction went smoothly.",
"created_at": "2026-10-08T10:30:00Z",
"updated_at": "2026-10-08T10:30:00Z"
}
}
}Notes
- The review must target the authenticated seller and have status
published. - Sellers cannot view another seller's reviews.
- Sellers cannot update, hide, or delete reviews.
- Returns
401when authentication is missing or invalid. - Returns
403when the authenticated account does not have a seller role. - Returns
404when the review does not exist, is not published, or targets another seller. - Returns
405when an unsupported method such asPATCHorDELETEis used.
Common Success Format
{
"success": true,
"message": "Operation completed successfully.",
"data": {}
}Common Error Format
{
"success": false,
"message": "Review not found.",
"errors": {}
}