These docs are for v2023.11. Click to read the latest docs for v2025.03.01.

Create customer.

Registers a new customer in the system.

Response CodeFault CodeFaultSuggested User Message
40090038MandatoryContactMethodMissingFaultContact Method Required
40090026InvalidPostcodeFaultPostcode provided is incorrect
40090075UsernameRequiredFailureFaultNo Username provided
40090044PasswordRequiredFaultNo Password provided
40090073UnsafePasswordScoreFaultProvided Password does not meet minimum secure requirements
40490066UnknownConsentFaultConsentId provided does not exist
40490019InvalidCurrencyCodeFaultCurrency code provided does not exist
40490067UnknownContactMethodFaultContact Method provided does not exist
40090030InvalidUsernameFailureFaultUsername provided is invalid
50090061SystemFailureFaultSystem Failure, please try again later
40090037MandatoryConsentMissingFaultConsent Method Required
40090074UsernameExistsFailureFaultUsername Provided already exists
40090055RegistrationFailureFaultRegistration cannot be completed at this time
40090020InvalidDateOfBirthFaultDate of Birth provided is incorrect
Body Params

The customer information to store.

string
length ≤ 200

The unique external customer identifier.

string
required
length ≤ 200

The customers username.

string
length ≤ 200

The customers password.

string
required
length ≤ 200

The customers email address.

string
required
length ≤ 20

The customers title.

string
length ≤ 50

The customers forename.

string
required
length ≤ 50

The customers surname.

date

The customers date of birth, format must be [YYYY-MM-DD].

string
length ≤ 20

The customers phone number.

string
length ≤ 20

The customers mobile phone number.

addresses
array of objects
length ≤ 1

The list of addresses associated with the customer.

addresses
consents
object

The entities that have been provided with consent to process the customers data.

customAttributes
array of objects

The bespoke client fields associated with the customer.

customAttributes
string

The name to be displayed for this customer

string

Indicates the type of customer, normally Standard or VIP but additional types may be available if configured.

string

The currency in which the customer will purchase.

string

The customer's optionally declared gender

string

The customer's nationality.

Headers
string

The tenant ID for which the operation is being carried out. This will be automatically generated during the authentication process.

string

The ID of a user who is performing the operation. This will be automatically generated during the authentication process.

string

The source of whether records are updated by HMAC or a USER. This will be automatically generated during the authentication process. For customers accessing the service the source will be set to CUSTOMER.

Responses

Language
Choose an example:
application/json