Customer Management

Customer Management

Customer endpoints are designed for public-facing user registration and authentication, separate from admin user management.

POST/customers/signup

Registers a new customer account.

Request Body

{
  "email": "customer@example.com",
  "password": "SecurePass123!",
  "firstName": "Jane",
  "lastName": "Customer",
  "phone": "+1234567890"
}

POST/customers/login

Authenticates a customer and returns access tokens.

Request Body

{
  "email": "customer@example.com",
  "password": "SecurePass123!"
}

Customer Password Reset

POST/customers/request-reset

Initiates password reset for a customer account.

POST/customers/reset-password

Completes the password reset process.