---
title: "Get Customer Data"
method: GET
path: "/setup/v1/customers/{id}/privacy"
tags: ["Customers"]
---

# Get Customer Data

`GET /setup/v1/customers/{id}/privacy`

Use this endpoint to return the **Customer** object. A valid **customer id** is required. Find customer id's using the _GET /setup/v1/customers_ endpoint.

## Path parameters

- `id` string, required

## Response `200`

Success

- CustomerPrivacyViewModel
  - `customer` CustomerViewModel
    - `object` string, nullable
    - `id` string, nullable
    - `locationId` string, nullable
    - `businessName` string, nullable
    - `email` string, nullable
    - `name` string, nullable
    - `lastname` string, nullable
    - `firstname` string, nullable
    - `companyName` string, nullable
    - `gender` string, nullable
    - `birthdate` string, nullable
    - `lastVisitDate` string, nullable
    - `groupId` string, nullable
    - `resourceId` string, nullable
    - `createdOn` string, nullable
    - `createdBy` string, nullable
    - `registeredBy` string, nullable
    - `verifiedBy` string, nullable
    - `modifiedBy` string, nullable
    - `modifiedOn` string, nullable
    - `verificationDate` string, nullable
    - `registrationDate` string, nullable
    - `emailInfo` boolean, nullable
    - `emailPromotion` boolean, nullable
    - `disabled` boolean, nullable
    - `inviteEmailSent` string, nullable
    - `welcomeEmailSent` string, nullable
    - `deletedStatus` boolean
    - `deletedTime` string, nullable
    - `notificationType` string, nullable
    - `subscriptionId` string, nullable
    - `latitude` string, nullable
    - `longitude` string, nullable
    - `stripeCustomerId` string, nullable
    - `contact` ContactViewModel
      - `phoneType` string, nullable
      - `homePhone` string, nullable
      - `mobilePhone` string, nullable
      - `businessPhone` string, nullable
      - `businessPhoneExt` string, nullable
      - `skypeUsername` string, nullable
      - `conferenceInfo` string, nullable
    - `address` AddressViewModel
      - `addressLine1` string, nullable
      - `addressLine2` string, nullable
      - `city` string, nullable
      - `state` string, nullable
      - `country` string, nullable
      - `postalCode` string, nullable
    - `customFields` object, nullable
  - `appointments` AppointmentViewModel[], nullable
    - `object` string, nullable
    - `id` string, nullable
    - `locationId` string, nullable
    - `businessName` string, nullable
    - `calendarId` string, nullable
    - `serviceId` string, nullable
    - `serviceName` string, nullable
    - `serviceImageUrl` string, nullable
    - `resourceId` string, nullable
    - `resourceName` string, nullable
    - `resourceGroupId` string, nullable
    - `resourceGroupName` string, nullable
    - `resourceImageUrl` string, nullable
    - `resourceEmail` string, nullable
    - `customerId` string, nullable
    - `serviceAllocationId` string, nullable
    - `rescheduledId` string, nullable
    - `createDate` string, nullable
    - `startDateTime` string, nullable
    - `endDateTime` string, nullable
    - `dateInternational` string, nullable
    - `date` string, nullable
    - `time` integer
    - `duration` integer
    - `timezone` integer, nullable
    - `timezoneId` string, nullable
    - `timezoneIana` string, nullable
    - `ipAddress` string, nullable
    - `status` string, nullable
    - `confirmationNumber` string, nullable
    - `downloadIcsUrl` string, nullable
    - `bookedBy` string, nullable
    - `onlineBooking` boolean, nullable
    - `confirmed` boolean
    - `email` string, nullable
    - `name` string, nullable
    - `lastname` string, nullable
    - `firstname` string, nullable
    - `phone` string, nullable
    - `phoneType` string, nullable
    - `phoneExt` string, nullable
    - `customerMessage` string, nullable
    - `notes` string, nullable
    - `groupSize` integer, nullable
    - `lastModifiedOn` string, nullable
    - `lastModifiedBy` string, nullable
    - `emailConfirmationSent` string, nullable
    - `emailReminderSent` string, nullable
    - `smsConfirmationSent` string, nullable
    - `smsReminderSent` string, nullable
    - `location` string, nullable
    - `latitude` string, nullable
    - `longitude` string, nullable
    - `stripeChargeId` string, nullable
    - `stripeRefundId` string, nullable
    - `paymentStatus` integer
    - `resources` AppointmentResourceViewModel[], nullable
      - `appointmentId` string, nullable
      - `resourceId` string, nullable
      - `resourceName` string, nullable
      - `resourceGroupId` string, nullable
      - `resourceEmail` string, nullable
      - `resourceImageUrl` string, nullable
    - `customers` AppointmentCustomerViewModel[], nullable
      - `appointmentId` string, nullable
      - `customerId` string, nullable
    - `customFields` object, nullable
    - `auditTrail` AppointmentAuditViewModel[], nullable
      - `id` string, nullable
      - `appointmentId` string, nullable
      - `modifiedOn` string, nullable
      - `modifiedBy` string, nullable
      - `modificationType` string, nullable
      - `statusBefore` string, nullable
      - `statusAfter` string, nullable
      - `notesBefore` string, nullable
      - `notesAfter` string, nullable

---

[API](https://skmtc.net/onsched/apis/onsched-setup-api.md) · [All operations](https://skmtc.net/onsched/apis/onsched-setup-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/onsched/onsched-setup-api/revisions/c5c023458a2f/schema)
