Mark this carrier as eligible again for Ellie workflows. The UI is expected to confirm via a modal so the action is intentional; this endpoint itself does not gate on a reason. An audit-log row capturing the actor and timestamp is written in the same transaction. Idempotent: calling this when the carrier is already active returns the current row unchanged and writes no audit entry. Admin-only — requires OWNER or ADMIN role on the organization.
**Authentication:** Bearer token required.
Request
This endpoint expects an object.
reasonenum or nullOptional
Allowed values for AuditLog.reason. DB-enforced via Postgres ENUM.
The set is intentionally shared across all entity_type contexts; the
same code (service_quality, compliance, other) means
different things depending on whether the audited row is a carrier or a
lane preference. Disambiguating is the caller’s job — the frontend
renders different human labels per context. Free-text justification
lands on AuditLog.reason_note — required when OTHER is chosen,
optional (but preserved) for any other code.
reason_notestring or nullOptional<=2000 characters
Response
Successful Response
idstringformat: "^car_[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
mc_numberstring or nullOptional
dot_numberstring or nullOptional
emailstring or nullOptional
phonestring or nullOptional
dispatcher_namestring or nullOptional
dispatcher_phonestring or nullOptional
dispatcher_emailstring or nullOptional
is_activebooleanOptionalDefaults to true
providerstring or nullOptional
ingestion_methodstring or nullOptional
equipment_typeslist of enums or nullOptional
insurance_expirationdatetime or nullOptional
w9_on_fileboolean or nullOptional
authorized_for_hireboolean or nullOptional
on_time_pickup_pctdouble or nullOptional
on_time_delivery_pctdouble or nullOptional
tracking_compliance_pctdouble or nullOptional
avg_response_time_mindouble or nullOptional
total_loads_hauledinteger or nullOptional
is_onboardedbooleanOptionalDefaults to false
carrier_rep_user_idstringOptionalformat: "^usr_[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
carrier_rep_namestring or nullOptional
carrier_rep_emailstring or nullOptional
is_verifiedbooleanOptionalDefaults to false
verified_datedatetime or nullOptional
created_atdatetime or nullOptional
updated_atdatetime or nullOptional