Bulk

Bulk Documentation

People [BULK DELETE]

People [BULK DELETE]

Request

Endpoint

DELETE /api/v2/contacts/people/bulk
Content-Type: application/vnd.api+json

Body

{
  "data": [
    {
      "data": {
        "type": "people",
        "id": "9de08d12-f053-4f07-8c06-c8701d1bdaa8"
      }
    },
    {
      "data": {
        "type": "people",
        "id": "07923bb1-a488-46f6-ab42-68073857acde"
      }
    }
  ]
}

Response

Headers

Body

Fields

data

Type [Person]

Description An array of People that have just been deleted

People [BULK POST]

an individual element of the data array

For this bulk create endpoint, you are required to send an array of items within the data object. You are also required to send in a related Person. A Person cannot be created without a Contact.

  • Each member of the array must contain a client generated id to be used for the Person being created.

  • Each member of the array must contain a type that has the value of 'people'.

  • Each member of the array must have an attributes hash of values to be used for the Person being created.

Request

Endpoint

Body

Response

Headers

Body

Fields

data

Type [Person / error]

Description Array of People objects that have been successfully created and of errors related to People objects that were not created successfully

People [BULK PUT]

People [BULK PUT]

Request

Endpoint

Body

Response

Headers

Body

Fields

data

Type [Person / error]

Description Array of People objects that have been successfully created and of errors related to People objects that were not created successfully

Last updated