v1

latestOpenAPI 3.1.02026-07-2438302.6 MB

Get Customer Details

get/customers/{customer_uid}

Path parameters

customer_uidstring required

Request body

{"stackTrail":"paths:/customers/{customer_uid}:get:requestBody:content:application/json:schema","oasType":"schema","type":"unknown"}

Response

200

typestring

Example response

{
  "type": "success",
  "data": {
    "customer_uid": "e6b11af9-3c09-4459-9331-1384da339391",
    "customer_first_name": "Dev",
    "customer_last_name": "George",
    "customer_category": {
      "_id": "668e858be921d32f9eb33bfe",
      "category_uid": "f73a3587-a8f2-4311-a825-2308cabcd132",
      "category_name": "Commercial",
      "sla_duration": {
        "days": 2,
        "hours": 1,
        "minutes": 1
      }
    },
    "customer_organization": {
      "organization_uid": "c60f3cd2-c430-49dd-8c9c-7903cc38d3ca",
      "organization_name": "Prime Care Nursing Home",
      "organization_email": "devGeorge@primecare.com",
      "organization_address": {
        "city": "Chennai",
        "state": "Tamil Nadu",
        "street": "Prime Care Nursing Home, Sakthi Nagar Main Road, Bharathidasan Nagar, Balaji Nagar, Adambakkam",
        "country": "India",
        "zip_code": "600088",
        "geo_cordinates": [
          12.9799711
        ],
        "point_coordinates": {
          "type": "Point",
          "coordinates": [
            80.2044245
          ]
        }
      },
      "organization_billing_address": {
        "city": "Chennai",
        "state": "Tamil Nadu",
        "street": "Prime Care Nursing Home, Sakthi Nagar Main Road, Bharathidasan Nagar, Balaji Nagar, Adambakkam",
        "country": "India",
        "zip_code": "600088",
        "geo_cordinates": [
          12.9799711
        ],
        "point_coordinates": {
          "type": "Point",
          "coordinates": [
            80.2044245
          ]
        }
      },
      "is_active": true,
      "created_at": "2024-08-28T11:51:40.817Z",
      "updated_at": "2024-09-12T10:05:36.734Z"
    },
    "customer_email": "devGeorge@primecare.com",
    "no_of_jobs": 1,
    "customer_contact_no": {
      "home": "+91 9600086457"
    },
    "customer_all_addresses": [
      {
        "city": "Chennai",
        "state": "Tamil Nadu",
        "street": "Ramaniyam Pushkar Phase 1 Apartment, Kalaignar Karunanidhi Salai, Sholinganallur",
        "country": "India",
        "zip_code": "600119",
        "geo_cordinates": [
          12.9007222
        ],
        "_id": "66cf112377d8a3001c9bd104"
      }
    ],
    "customer_address": {
      "city": "Chennai",
      "state": "Tamil Nadu",
      "street": "Ramaniyam Pushkar Phase 1 Apartment, Kalaignar Karunanidhi Salai, Sholinganallur",
      "country": "India",
      "zip_code": "600119",
      "geo_cordinates": [
        12.9007222
      ],
      "point_coordinates": {
        "type": "Point",
        "coordinates": [
          80.2344109
        ]
      }
    },
    "customer_billing_address": {
      "city": "Chennai",
      "state": "Tamil Nadu",
      "street": "Ramaniyam Pushkar Phase 1 Apartment, Kalaignar Karunanidhi Salai, Sholinganallur",
      "country": "India",
      "zip_code": "600119",
      "geo_cordinates": [
        12.9007222
      ],
      "point_coordinates": {
        "type": "Point",
        "coordinates": [
          80.2344109
        ]
      }
    },
    "customer_notifications": {
      "email": true,
      "sms": true,
      "call": true
    },
    "accounts": {
      "receivables": 440
    },
    "is_active": true,
    "created_by": {
      "user_uid": "4088adc6-c6ed-45a2-845d-451f28938960",
      "first_name": "John",
      "last_name": "S",
      "email": "john@zuper.co",
      "home_phone_number": "9600086457",
      "designation": "Admin",
      "emp_code": "001",
      "work_phone_number": "9600086457",
      "is_active": true,
      "created_at": "2024-03-22T07:41:38.000Z",
      "updated_at": "2024-03-22T07:41:38.000Z"
    },
    "created_at": "2024-08-28T11:59:31.317Z"
  }
}