Skip to main content

Contacts

Contacts represent data about a specific customer. Carts, orders, attributes are associated with contacts.

In a B2B environment a contact is part of a company representing the organisation he/she is working for. Orders for the company, in a B2B environment, are placed by a specific contact.

The contact API is only available on the Propeller cloud version. The legacy version of Propeller does not support this API

Contact Lookup keys

KeyTypeDescription
idintegerPropeller contact id
sourceIdstringExternal system unique id. sourceId should be combined with source

What are lookup keys?

Fields

NameDescriptionType
debtorIdA unique id representing the company of this contact. A debtorId can be automatically generated by Propellorinteger
string
firstNameContact first namestring
middleNameContact middle namestring
lastNameContact last namestring
abbreviationContact abbreviationstring
titleContact titlestring
dateOfBirthContact date of birthdate
genderContact genderenum

m=Male
f=Female
u=Undefined
ssnContact ssnstring
phoneContact phone numberinteger
emailA valid email addressstring
parentParent companyJSON object that identifies the parent. id or sourceId in combination with source
primaryLanguageContact primary languagestring
ISO 639-1
sourceIdExternal system unique idstring
sourceExternal systemstring

User Errors

This section describes error codes specific for the User resource.

CodeError TypeStatus CodeMessageReason
50004ContactExists400Contactalready existsContact with such lookup key already exists
50005ContactMultipleFound400Multuple contacts found. Please provide additional filtersMultiple contacts with such lookup key exist
50006ContactNotFound404Contactdoes not existContact with such lookup key not found
50007ParentContactNotFound404Parent contact not foundParent contact with such lookup key not found. This error is typical when working with contact sub-resources (e.g. attributes)
50008ContactNotAllowed404Contact is not allowedUsually when contact is in Recycle Bin and can't be used