Update carrier status
PUT/company/my_carriers/:carrierId
Allows updating the enabled/disabled status of a carrier. Requires JWT authentication.
Use cases:
- Temporarily activate/deactivate carriers
- Control which carriers are available for operations
Notes:
- Only the 'enabled' field can be updated
- The carrier ID must be valid and exist
Request
Responses
- 200
- 400
- 401
- 404
Carrier updated successfully
Invalid input data. Possible causes:
- Non-boolean value for the 'enabled' field
- Malformed request body
Unauthorized. Invalid or missing JWT token.
Carrier not found. The provided ID does not exist or is not associated with the company.