Skip to main content

Bulk Users by source id

POST 

/users/bulk/sourceId

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

User Bulk endpoints support bulk change of user attributes for multiple users as well. To learn more about Attributes, go here.

User Bulk endpoints support bulk change of pricing for multiple users as well. To learn more about Pricing, go here.

A single users 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 users, this endpoint should be used.

Fields

NameRequired
users (array of users)yes
sourceyes
sourceIdyes
debtorIdno
firstNameno
middleNameno
lastNameno
fullNameno
titleno
dateOfBirthno
genderno
loginno
phoneno
emailno
companyno
parentno
pricelistAmountno
pricelistPercentageno
taxNumberno
cocNumberno
primaryLanguageno
attributes

Read more about attributes
no
pricing

Read more about pricing
no
addresses

Read more about addresses
no

Request

Body

    users

    object[]

  • Array [

  • abbreviation string

    attributes

    object[]

  • Array [

  • class string
    name string
    type string
    value string
  • ]

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

    parent

    object

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

Responses

Bulk Users by source id - 200 / Bulk Users by source id - 200

Response Headers

  • Alt-Svc

    string

  • Via

    string

  • alt-svc

    string

  • content-length

    string

  • date

    string

  • return-format

    string

  • server

    string

  • x-request-id

    string

Schema

    data

    object[]

  • Array [

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

  • messages string[]
    total number
Loading...