POST Update Carrier
Introduction
Updates an existing carrier's information including name, identification numbers, verification status, and organization associations. This API is used when carrier details change or when updating the carrier's operational status. All carrier attributes can be modified except the carrier ID, which remains immutable.
API Request
POST /carrier/{carrierId}/update
Body Request Parameters
{
"carrierName": "string",
"scac": [
"string"
],
"usdot": "string",
"mcNumber": "string",
"carrierStatus": "ACTIVE,INACTIVE,EXCEPTION",
"verified": true,
"knownName": "string",
"orgIds": [
"string"
]
}Request Parameters
| Name | Location | Type | Required | Description |
|---|---|---|---|---|
| carrierId | path | string | Yes | none |
| X-Tenant-ID | header | string | No | none |
| X-Yard-ID | header | string | No | none |
| Item-Time-Zone | header | string | No | none |
| Authorization | header | string | No | none |
| body | body | CarrierUpdateCmd | No | none |
Response Example
200 Response
{
"code": 0,
"msg": "",
"success": false,
"data": {
"carrierId": "",
"carrierName": "",
"scac": [
""
],
"usdot": "",
"mcNumber": "",
"verified": false,
"createdTime": "",
"createdBy": "",
"updatedTime": "",
"updatedBy": "",
"carrierStatus": "",
"knownName": "",
"orgIds": [
""
]
}
}Response
| Status Code | Definition | Description | Data Model |
|---|---|---|---|
| 200 | OK (opens in a new tab) | none | RCarrierView |