---
title: "POST /v1/SalesForce/BulkPersonAccounts"
method: POST
path: "/v1/SalesForce/BulkPersonAccounts"
tags: ["SalesForce"]
---

# POST /v1/SalesForce/BulkPersonAccounts

`POST /v1/SalesForce/BulkPersonAccounts`

## Request body

- AdaptekApiApplicationPeopleCommandsBulkUpsertFullPersonUpsertBulkConsumersCommand
  - `consumers` AdaptekApiApplicationPeopleFullPersonDto[], nullable
    - `personId` integer, nullable
    - `agentId` integer
    - `salesforcePersonId` string, nullable
    - `wealthboxId` integer, nullable
    - `firstName` string, nullable
    - `middleName` string, nullable
    - `lastName` string, nullable
    - `genderTypeId` 0 | 1 | 2
    - `dateOfBirth` string, date-time, nullable
    - `ssn` string, nullable
    - `greeting` string, nullable
    - `driversLicenseNumber` string, nullable
    - `driversLicenseExpiration` string, date-time, nullable
    - `driversLicenseState` integer, nullable
    - `driversLicenseIssueDate` string, date-time, nullable
    - `age` integer, nullable
    - `maritalStatusTypeId` 1 | 2 | 3 | 4
    - `personStatus` integer, nullable
    - `lifecycleStatus` string, nullable
    - `service` string, nullable
    - `emailAddresses` AdaptekApiApplicationPersonEmailAddressesCommandsCreatePersonEmailAddressUpsertPersonEmailAddressCommand[], nullable
      - `personId` string, nullable
      - `personEmailId` integer, nullable
      - `emailAddressType` 1 | 2 | 3 | 4
      - `emailAddress` string, nullable
      - `isUnsubscribedFromCampaigns` boolean
      - `isUndeliverable` boolean
      - `undeliverableReason` string, nullable
      - `isPreferred` boolean
      - `remarks` string, nullable
      - `salesforceId` string, nullable
    - `physicalAddresses` AdaptekApiApplicationPersonPhysicalAddressesCommandsUpsertPersonPhysicalAddressUpsertPersonPhysicalAddressCommand[], nullable
      - `addressId` integer, nullable
      - `personId` integer
      - `street` string, nullable
      - `street2` string, nullable
      - `city` string, nullable
      - `zipCode` integer
      - `isPreferred` boolean
      - `addressType` integer
      - `stateOrProvinceId` 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56
      - `salesforceId` string, nullable
    - `phoneNumbers` AdaptekApiApplicationPersonPhoneNumbersCommandsUpsertPersonPhoneNumberUpsertPersonPhoneNumberCommand[], nullable
      - `phoneNumberId` integer, nullable
      - `personId` integer
      - `phoneNumber` integer
      - `phoneNumberTypeId` integer
      - `isPreferred` boolean
      - `salesforceId` string, nullable
    - `electronicContacts` AdaptekApiApplicationPersonElectronicContactCommandsUpsertPersonElectronicContactCommand[], nullable
      - `electronicContactId` integer, nullable
      - `personId` integer
      - `electronicContactTypeID` integer
      - `electronicContact` string, nullable
      - `isPreferred` boolean
      - `remarks` string, nullable
      - `salesforceId` string, nullable
      - `isUpdate` boolean
    - `isUpdate` boolean

## Response `200`

Consumer sync successful

- AdaptekApiApplicationPeopleCommandsBulkUpsertFullPersonUpsertBulkConsumersResponse[]
  - `isSuccessful` boolean
  - `recordsSynced` integer
  - `syncedIds` AdaptekApiApplicationPeopleCommandsBulkUpsertFullPersonBulkConsumerIdsResponse[], nullable
    - `kmeId` integer
    - `salesforceId` string, nullable
    - `wealthboxId` integer, nullable
    - `emailIds` object, nullable
    - `phoneNumberIds` object, nullable
    - `addressIds` object, nullable
    - `electronicIds` object, nullable
  - `failedRecords` AdaptekApiApplicationPeopleCommandsBulkUpsertFullPersonFailedConsumerResponse[], nullable
    - `personId` integer, nullable
    - `salesforcePersonId` string, nullable
    - `wealthboxId` integer, nullable
    - `agentId` integer
    - `errorMessage` string, nullable

## Other responses

- `400` — Invalid request

---

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