Customers

Customers are the end users of your front-office, purchasing products. They can create their own customer account using the front-end, or you can create the account for them.

Definitions

Account: Organization to which several customer users can be attached.

Customer User: End-user of the front-office.

Creating an account

Create an account using ACCOUNT-100. This also creates a first customer user to attach.

The following fields are mandatory:

  • Civility
  • First name
  • Last name
  • Email
  • External ID
  • Phone
  • Account name (the account to attach the customer to)

If the Customer account approval option is active in the back-office, the account appears as Waiting validation and requires manual validation by the administrator.

Output Detail
If the account does not already exist Both the account and the user are created. An email containing a confirmation link is sent to the user account.
If both the account and user already exist The API call is rejected.
If the user email is already attached to another user The API call is rejected. Either log in on the existing user and reset the password if needed, or choose another email address.
If the account does not exist but the user already exists The API call is rejected. Either input another email address or contact your DJUST operator.

Proceed with the authentication.

Creating a customer user and attaching it to an account

Use this API only if you already have an account created.

Create a single customer user using USER-100.

The following fields are mandatory:

  • Civility
  • First name
  • Last name
  • Email
  • External ID
  • Phone

The account to attach the user to cannot be specified if the API is called from the front-office. The user is automatically added to the same account as the logged operator performing the API call.

If the Customer account approval option is active in the back-office, the account appears as Waiting validation and requires manual validation by the administrator.

Output Detail
If the user does not exist An email containing a confirmation link is sent to the user.
If the user email is already attached to another user The API call is rejected. Either log in on the existing user and reset the password if needed, choose another email address, or contact your DJUST operator.

Proceed with the authentication.