Add a new carrier
POST/company/my_carriers/
Allows registering a new carrier associated with the company. Requires JWT authentication.
Use cases:
- Register new carriers to manage shipments
- Maintain a directory of available carriers
- Associate carriers with logistics operations
Example flow:
- Obtain authentication token
- Register carrier with basic data
- Enable carrier when ready to operate
Request
Responses
- 201
- 400
- 401
Carrier created successfully
Invalid input data. Possible causes:
- Empty or too short name
- Incorrect NIF/CIF format
- Invalid email
Unauthorized. Invalid or missing JWT token.