Disable a carrier for a load's lane

Mark a carrier as ineligible for the given load's origin->destination lane. Resolves the load's pickup/delivery, finds or creates the matching CarrierLanePreferenceH3, and flips it to is_active=False (preference_type is left untouched on existing rows). Search paths already filter on is_active=True, so the disable takes effect immediately, and ingestion will never flip an admin-disabled row back to active. Admin-only — requires OWNER or ADMIN role on the organization. **Authentication:** Bearer token required.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

carrier_idstringRequiredformat: "uuid"

Headers

X-Organization-IDstring or nullOptional

Request

This endpoint expects an object.
load_idstringRequiredformat: "uuid"

Load id (accepts prefixed or raw UUID)

Response

Successful Response
preferenceobject

Minimal response for a toggled lane preference.

Only the fields actually stored on CarrierLanePreferenceH3 are surfaced. Origin/destination city+state live on the related Lane row and are intentionally not included here to avoid advertising fields we would never populate without a join. Clients that need lane geography can resolve it via lane_id.

createdboolean

True when a fresh disabled row was created; False if an existing row was flipped inactive

Errors

401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error
429
Too Many Requests Error