Bulk

Bulk Documentation

Contacts [BULK DELETE]

Contacts [BULK DELETE]

Request

Endpoint

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

Body

{
  "data": [
    {
      "data": {
        "type": "contacts",
        "id": "edf429cd-7687-48bf-86a4-ea1836a76859"
      }
    },
    {
      "data": {
        "type": "contacts",
        "id": "270072f8-69f4-4d01-8e75-fd9f940a20ed"
      }
    }
  ]
}

Response

Headers

Body

Fields

data

Type [Contact]

Description An array of Contacts that have just been deleted

Contacts [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.

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

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

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

Request

Endpoint

Body

Response

Headers

Body

Fields

data

Type [Contact / error]

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

Contacts [BULK PUT]

Contacts [BULK PUT]

Request

Endpoint

Body

Response

Headers

Body

Fields

data

Type [Contact / error]

Description Array of both Contact objects that have been successfully updated and of errors related to Contact objects that were not updated successfully

Last updated