Register Customer
Creates a new customer account with email and password.Request Body
User’s email address. Must be unique and valid format.
User’s password. Should meet security requirements (minimum length, complexity).
Response
JWT authentication token for the newly created customer account
Response Codes
200 OK- Registration successful, returns JWT token400 Bad Request- Invalid email format or password requirements not met409 Conflict- Email already registered500 Internal Server Error- Server error during registration
Examples
Success Response Example
Error Response Examples
Email Already Registered (409 Conflict):Next Steps
After registration:- Store the JWT token securely
- Use the token to authenticate API requests
- Complete customer profile information
- Start browsing products
The registration endpoint automatically creates a Customer role. To become a seller, use the Seller Application endpoint.