Skip to main content

Bulk Contacts by source id

POST 

/contacts/bulk/sourceId

The bulk endpoints offer an efficient way of importing/updating large amounts of contacts with just a single API call. When using the bulk sourceId endpoint, the contacts are identified by sourceId, source and language. If a contact doesn't already exist, it will be created. If it does exist, the contact found will be updated.

Contact bulk endpoints support bulk change of contact attributes for multiple contacts as well. To learn more about Attributes, go here.

Contact bulk endpoints support bulk change of pricing for multiple contacts as well. To learn more about Pricing, go here.

A single contacts attributes can be modified as explained in Bulk resource attribute values by resource lookup key, but if it's needed to modify attributes for multiple contacts, this endpoint should be used.

Fields

NameRequired
contacts (array of contact objects)yes
sourceyes
sourceIdyes
debtorId (deprecated)no
firstNameno
middleNameno
lastNameno
abbreviationno
titleno
dateOfBirthno
genderno
ssnno
phoneno
emailno
parentno
pricelistAmountno
pricelistPercentageno
primaryLanguageno
attributes

Read more about attributes
no
pricing

Read more about pricing
no

Request

Body

    contacts

    object[]

  • Array [

  • abbreviation string

    attributes

    object[]

  • Array [

  • class string
    name string
    type string
    value string
  • ]

  • company string
    debtorId number
    email string
    firstName string
    gender string
    language string
    lastName string
    middleName string
    mobile string

    parent

    object

    source string
    sourceId number
    phone string
    primaryLanguage string
    source string
    sourceId number
    title string
  • ]

Responses

Bulk Contacts by source id - 200

Response Headers

  • Alt-Svc

    string

  • Via

    string

  • alt-svc

    string

  • content-length

    string

  • date

    string

  • return-format

    string

  • x-request-id

    string

Schema

    data

    object[]

  • Array [

  • action string
    id number
    key number
    lookupKey string
    success boolean
  • ]

  • messages string[]
    total number
Loading...