Skip to main content
POST

Body

application/json

Request body follows the current CustomerRegisterRequest DTO. Required fields and password constraints are taken from class-validator decorators.

firstName
string
required

Required. Customer first name.

Maximum string length: 32
password
string<password>
required
write-only

Required. At least 8 characters; must include uppercase and lowercase letters and a number or symbol.

Required string length: 8 - 128
emailId
string
required

Required. Customer email address.

Maximum string length: 96
otp
integer
required

Required. OTP sent to the email address.

lastName
string

Optional. Customer last name.

companyName
string
taxNumber
string
phoneNumber
string

Optional. Customer phone number.

Maximum string length: 15

Response

Successful response. Request fields are from CustomerRegisterRequest; success wrapper is from the handler, with PII-safe example values.

status
integer
message
string
data
object