v2
tms
v2
tms
carriers
Update Carrier Custom Preferences
Update carrier-specific preferences.
The request body carries the full desired state for every preference field: each value on the request is written as-is, with null persisted as NULL (i.e. fall back to the organization-wide default). To keep an existing value, the client sends it back on the next update.
patch/v2/tms/carriers/{external_reference_id}/custom-preferences
Request
- Base URLhttps://api.mentium.io (the document declares no server; this is the origin it was published from)
- AuthHTTP bearer
Path parameters
external_reference_idstring required
Query parameters
integration_connection_idstring required
TMS integration connection UUID
Headers
mentium-workspace-idstring nullable
Request body
Response
Successful Response
Example response
{
"addresses": [
{
"address_type": "PHYSICAL",
"city": "Phoenix",
"country": "USA",
"data_origin": "TMS",
"postal_code": "85001",
"state": "AZ",
"street": "123 Main St"
},
{
"address_type": "BILLING",
"city": "Phoenix",
"country": "USA",
"data_origin": "TMS",
"postal_code": "85002",
"state": "AZ",
"street": "456 Finance Ave"
}
],
"certifications": [
{
"certification_number": "1bb4726b4337e35d147ec6242b7b25ca",
"certification_type": "SMART_WAY",
"data_origin": "HIGHWAY",
"effective_at": "2024-01-01T00:00:00Z",
"expiration_at": "2024-12-31T00:00:00Z",
"is_verified": true,
"verification_source": "Highway"
},
{
"certification_type": "TANKER_ENDORSED_DRIVERS",
"data_origin": "HIGHWAY",
"filed_at": "2024-04-25T00:00:00Z",
"is_verified": false
}
],
"contacts": [
{
"contact_type": "DISPATCHER",
"full_name": "John Dispatcher",
"id": "contact-uuid-123",
"is_primary_contact": true,
"primary_email": "john@swift.com",
"primary_phone": "555-234-5678"
}
],
"dot_number": "987654",
"equipment": [
{
"equipment_type": "Capabilities",
"id": "equipment-uuid-789",
"is_hazmat_certified": true,
"is_reefer": true,
"is_team_equipped": true
}
],
"external_reference_id": "CAR12345",
"id": "123e4567-e89b-12d3-a456-426614174000",
"integration_connection_id": "int-456",
"name": "Swift Transportation",
"organization_id": "org-123",
"phone_number": "555-123-4567"
}Changes
No recorded changes to this operation across all 2 revisions of this API.