Seller Appointments API
Base URL: http://localhost:8000/api/v1
Prefix: /sellers
Auth: Required Bearer token
Headers: Content-Type: application/json
1. List Seller Appointments
List property visit appointments for the logged-in seller.
/sellers/appointments/Auth: Required
Headers
Authorization: Bearer {{access_token}}Success Example
{
"success": true,
"message": "Appointments retrieved successfully.",
"data": {
"appointments": {
"count": 1,
"next": null,
"previous": null,
"results": [
{
"id": "8b91f5d4-5c38-4d9c-84e8-60f2f8d74a21",
"property": {
"id": "0d45d5d0-38a3-42f0-a76d-bc05a2fd49a2",
"title": "Modern Apartment in Downtown",
"slug": "modern-apartment-in-downtown",
"city": "Austin",
"area_name": "Downtown",
"address": "112 Example Lane, Austin, TX 78701"
},
"buyer": {
"id": "95b8e5e7-6d24-4745-a3c8-4f4453a09c11",
"full_name": "Jane Customer",
"email": "jane@example.com",
"phone": "+15125550109"
},
"seller": {
"id": "5c3b2357-53e8-49f5-bc6a-98c20cde6fd1",
"full_name": "Property Seller",
"email": "seller@example.com",
"phone": "+15125550110"
},
"agent": null,
"scheduled_at": "2026-08-10T10:00:00+06:00",
"type": "property_tour",
"meeting_type": "in_person",
"status": "requested",
"notes": "I want to visit this property.",
"cancel_reason": "",
"created_at": "2026-08-04T15:30:00+06:00",
"updated_at": "2026-08-04T15:30:00+06:00"
}
]
}
}
}Notes
-
Returns only appointments where the logged-in seller is the appointment seller.
-
Pagination uses
page.
2. Seller Appointment Details
Get details of a single appointment for the logged-in seller.
/sellers/appointments/{appointment_id}/Auth: Required
Headers
Authorization: Bearer {{access_token}}Success Example
{
"success": true,
"message": "Appointment details retrieved successfully.",
"data": {
"appointment": {
"id": "8b91f5d4-5c38-4d9c-84e8-60f2f8d74a21",
"property": {
"id": "0d45d5d0-38a3-42f0-a76d-bc05a2fd49a2",
"title": "Modern Apartment in Downtown",
"slug": "modern-apartment-in-downtown",
"city": "Austin",
"area_name": "Downtown",
"address": "112 Example Lane, Austin, TX 78701"
},
"buyer": {
"id": "95b8e5e7-6d24-4745-a3c8-4f4453a09c11",
"full_name": "Jane Customer",
"email": "jane@example.com",
"phone": "+15125550109"
},
"seller": {
"id": "5c3b2357-53e8-49f5-bc6a-98c20cde6fd1",
"full_name": "Property Seller",
"email": "seller@example.com",
"phone": "+15125550110"
},
"agent": null,
"scheduled_at": "2026-08-10T10:00:00+06:00",
"type": "property_tour",
"meeting_type": "in_person",
"status": "requested",
"notes": "I want to visit this property.",
"cancel_reason": "",
"created_at": "2026-08-04T15:30:00+06:00",
"updated_at": "2026-08-04T15:30:00+06:00"
}
}
}Notes
- Returns
404if the appointment does not belong to the logged-in seller.
3. Accept Appointment
Accept an appointment request.
/sellers/appointments/{appointment_id}/accept/Auth: Required
Headers
Authorization: Bearer {{access_token}}Success Example
{
"success": true,
"message": "Appointment accepted successfully.",
"data": {
"appointment": {
"id": "8b91f5d4-5c38-4d9c-84e8-60f2f8d74a21",
"status": "confirmed"
}
}
}Notes
-
Final appointments cannot be accepted.
-
Final statuses are
canceled,completed, andno_show.
4. Reject Appointment
Reject an appointment request.
/sellers/appointments/{appointment_id}/reject/Auth: Required
Headers
Authorization: Bearer {{access_token}}Request Body
{
"cancel_reason": "Owner is unavailable at this time."
}Success Example
{
"success": true,
"message": "Appointment rejected successfully.",
"data": {
"appointment": {
"id": "8b91f5d4-5c38-4d9c-84e8-60f2f8d74a21",
"status": "canceled",
"cancel_reason": "Owner is unavailable at this time."
}
}
}Notes
-
cancel_reasonis optional. -
Rejected appointments are saved with status
canceled.
5. Reschedule Appointment
Reschedule an appointment.
/sellers/appointments/{appointment_id}/reschedule/Auth: Required
Headers
Authorization: Bearer {{access_token}}Request Body
{
"scheduled_at": "2026-08-12T14:00:00+06:00",
"notes": "Owner requested another time."
}Success Example
{
"success": true,
"message": "Appointment rescheduled successfully.",
"data": {
"appointment": {
"id": "8b91f5d4-5c38-4d9c-84e8-60f2f8d74a21",
"scheduled_at": "2026-08-12T14:00:00+06:00",
"status": "rescheduled",
"notes": "Owner requested another time."
}
}
}Notes
-
scheduled_atmust be a future datetime. -
notesis optional.
6. Cancel Appointment
Cancel an appointment.
/sellers/appointments/{appointment_id}/cancel/Auth: Required
Headers
Authorization: Bearer {{access_token}}Request Body
{
"cancel_reason": "Property is no longer available."
}Success Example
{
"success": true,
"message": "Appointment canceled successfully.",
"data": {
"appointment": {
"id": "8b91f5d4-5c38-4d9c-84e8-60f2f8d74a21",
"status": "canceled",
"cancel_reason": "Property is no longer available."
}
}
}Notes
-
cancel_reasonis optional. -
Final appointments cannot be canceled again.
7. Get Appointment KPIs
Returns appointment totals for the authenticated verified seller.
/sellers/appointments/kpis/Auth: Required
Headers
Authorization: Bearer {{access_token}}Success Example
{
"success": true,
"message": "Seller appointment KPIs retrieved successfully.",
"data": {
"kpis": {
"upcoming_today": 1,
"upcoming_this_week": 4,
"completed": 8,
"cancelled": 2
}
}
}Notes
- Completed and cancelled counts cover the current calendar month.
- Approved KYB is required.
Common Success Format
{
"success": true,
"message": "Success message.",
"data": {}
}Common Error Format
{
"success": false,
"message": "Validation failed.",
"errors": {}
}