- Docs
- Techvia TMS overview
- API reference
- Carriers API reference
- Change a carrier
Change a carrier
PATCH /api/public/v1/carriers/{id}
Scope: directory.write. MCP tool: update_carrier. Rules and edge cases: Carriers guide.
Parameters
Section titled “Parameters”| Name | In | Type | Required | Notes |
|---|---|---|---|---|
id |
path | string (uuid) | yes |
Request body
Section titled “Request body”Content type application/json. Limits and rules for each field are in the Carriers guide.
| Field | Type | Required | Notes |
|---|---|---|---|
rowVersion |
integer | no | |
name |
string | no | |
dotNumber |
string | no | |
mcNumber |
string | no | |
scac |
string | no | |
contactName |
string | no | |
phone |
string | no | |
email |
string | no | |
liabilityExpiry |
string (date) | no | |
autoExpiry |
string (date) | no | |
cargoExpiry |
string (date) | no |
Responses
Section titled “Responses”| Status | Meaning | Body |
|---|---|---|
200 |
OK | PublicCarrier |
404 |
Not Found | ProblemDetails |
409 |
Conflict | ProblemDetails |
422 |
Unprocessable Entity | ProblemDetails |
200 body
Section titled “200 body”| Field | Type | Notes |
|---|---|---|
id |
string (uuid) | |
name |
string | |
mcNumber |
string | |
dotNumber |
string | |
status |
enum CarrierStatus | One of Active, Inactive |
insuranceExpiry |
string (date) | |
phone |
string | |
email |
string | |
scac |
string | |
rowVersion |
integer |
Errors are RFC 7807 problem details; see Errors.