Carrier Registration
POST/truckers/auth/register
Create a new carrier account and associated company.
Process:
- Validate required data
- Verify that the email is not registered
- Create user and company in Stripe
- Send activation email
Mandatory fields:
- name: Full name
- email: Valid and unique email
- password: Minimum 8 characters with uppercase, lowercase and numbers
- phone: Contact phone number
- taxid: Valid NIF/CIF
Common errors:
- USER_ALREADY_EXIST: Email already registered (406)
- PASS_NOT_MATCH: Passwords do not match (400)
Request
Responses
- 200
- 400
- 403
Successful registration
Invalid or missing data
Registration not allowed