{
  "info": {
    "name": "Lift CRM - Appointment APIs",
    "description": "Client appointment confirmation and reschedule APIs",
    "version": "1.0.0"
  },
  "item": [
    {
      "name": "Authentication",
      "item": [
        {
          "name": "Login (Get Token)",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"phone\": \"+91 9090909032\",\n  \"password\": \"customer_password\"\n}"
            },
            "url": {
              "raw": "http://127.0.0.1:8000/api/client/auth/login",
              "protocol": "http",
              "host": ["127", "0", "0", "1"],
              "port": "8000",
              "path": ["api", "client", "auth", "login"]
            }
          }
        }
      ]
    },
    {
      "name": "View Appointments",
      "item": [
        {
          "name": "Get Journey Status",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              }
            ],
            "url": {
              "raw": "http://127.0.0.1:8000/api/client/journey",
              "protocol": "http",
              "host": ["127", "0", "0", "1"],
              "port": "8000",
              "path": ["api", "client", "journey"]
            }
          }
        },
        {
          "name": "Get Journey Summary",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              }
            ],
            "url": {
              "raw": "http://127.0.0.1:8000/api/client/journey/status",
              "protocol": "http",
              "host": ["127", "0", "0", "1"],
              "port": "8000",
              "path": ["api", "client", "journey", "status"]
            }
          }
        }
      ]
    },
    {
      "name": "Confirm Appointment",
      "item": [
        {
          "name": "Confirm Site Visit Appointment",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"confirmed\": true,\n  \"remarks\": \"Confirmed for the scheduled time\"\n}"
            },
            "url": {
              "raw": "http://127.0.0.1:8000/api/client/journey/site_visit_appointment/confirm-appointment",
              "protocol": "http",
              "host": ["127", "0", "0", "1"],
              "port": "8000",
              "path": ["api", "client", "journey", "site_visit_appointment", "confirm-appointment"]
            }
          }
        },
        {
          "name": "Decline Site Visit Appointment",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"confirmed\": false,\n  \"remarks\": \"Cannot attend at scheduled time\"\n}"
            },
            "url": {
              "raw": "http://127.0.0.1:8000/api/client/journey/site_visit_appointment/confirm-appointment",
              "protocol": "http",
              "host": ["127", "0", "0", "1"],
              "port": "8000",
              "path": ["api", "client", "journey", "site_visit_appointment", "confirm-appointment"]
            }
          }
        }
      ]
    },
    {
      "name": "Reschedule Appointment",
      "item": [
        {
          "name": "Reschedule Site Visit Appointment",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"scheduled_date_time\": \"2026-08-16 15:00:00\",\n  \"appointment_notes\": \"Customer requested different time due to office meeting\"\n}"
            },
            "url": {
              "raw": "http://127.0.0.1:8000/api/client/journey/site_visit_appointment/reschedule",
              "protocol": "http",
              "host": ["127", "0", "0", "1"],
              "port": "8000",
              "path": ["api", "client", "journey", "site_visit_appointment", "reschedule"]
            }
          }
        }
      ]
    }
  ],
  "variable": [
    {
      "key": "token",
      "value": "",
      "type": "string"
    }
  ]
}
