Skip to main content

Customers

Customers represent data about a specific customer. Carts, orders, attributes, addresses are associated with customers.

In a B2C environment a customer is the actual user ordering products.

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

Customer Lookup keys

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

What are lookup keys?

Fields

NameDescriptionType
debtorIdA unique id representing this customer. A debtorId can be automatically generated by Propellorinteger
string
firstNameCustomer first namestring
middleNameCustomer middle namestring
lastNameCustomer last namestring
abbreviationCustomer abbreviationstring
titleCustomer titlestring
dateOfBirthCustomer date of birthdate
genderCustomer genderenum

m=Male
f=Female
u=Undefined
loginLogin name used to login to the webshopstring
phoneCustomer phone numberinteger
emailA valid email addressstring
ssnCustomer ssninteger
parentParent usergroupJSON object that identifies the parent. id or sourceId in combination with source
primaryLanguageCustomer primary languagestring
ISO 639-1
sourceIdExternal system unique idstring
sourceExternal systemstring

Customer Errors

This section describes error codes specific for the Customer resource.

CodeError TypeStatus CodeMessageReason
60004CustomerExists400Customer already existsCustomer with such lookup key already exists
60005CustomerMultipleFound400Multuple customers found. Please provide additional filtersMultiple customers with such lookup key exist
60006CustomerNotFound404Customer does not existCustomer with such lookup key not found
60007ParentCustomerNotFound404Parent customer does not existParent customer with such lookup key not found. This error is typical when working with customer sub-resources (e.g. attributes, addresses)
60008CustomerNotAllowed405Customer is not allowedUsually when customer is in Recycle Bin and can't be used
90006AddressNotFound404Address does not existCustomer address does not exist