Public - Security - Security

User Registration

Changed on

User Registration - Create a new user on BeezUP

post/v2/public/security/register

Request

Request body

emailstring required

Your email. We refuse disposable email.

passwordstring required

The password you want to use for your new account.
The password length must be greater or equals to 6 and lower or equals to 128.
The password must contains at least one number and one special character

cultureNamestring

Can be null. Default: en-GB. The culture name you want to use. FYI.
The email activation will use this culture.

commercialOwnerUserIdstring uuid

The user id of your commercial in BeezUP.

firstNamestring

Optional. The first name of the account owner.

lastNamestring

Optional. The last name of the account owner.

phoneNumberstring

Optional. The phone number of the account owner.

companystring

Optional. The company name.

vatNumberstring

Optional. The company VAT number.
Unlike the saveCompanyInfo operation, this number is stored as it is given and is NOT checked against the official VIES web service.
The owner can trigger that validation later by saving the company information from their account.

Example request

{
  "email": "myemail@mycompany.com",
  "password": "I@mW0nder$Full",
  "cultureName": "en-GB",
  "commercialOwnerUserId": "47ea14ab-195d-4f9a-a24e-32c329ee40f6",
  "firstName": "Paul",
  "lastName": "Simon",
  "phoneNumber": "+33123456789",
  "company": "My super company",
  "vatNumber": "FR12345678901"
}

Response

Customer registered

userIdstring guid required

The user identifier

Example response

{
  "userId": "8a7fbdec-9e71-472e-9974-27d5c1d57cf8"
}

Changes

    • breaking

      removed the success response with the status

    • info

      added the success response with the status