Create Lane
Changed onCreate a new carrier defined lane
Request
- Base URLhttps://api.mentium.io (the document declares no server; this is the origin it was published from)
- AuthHTTP bearer
Path parameters
Query parameters
Headers
Request body
Example request
{
"automation_enabled": true,
"contract_effective_at": "2024-01-01T00:00:00Z",
"contract_expires_at": "2024-12-31T23:59:59Z",
"contract_notes": "Annual contract for temperature-controlled shipments",
"contract_status": "ACTIVE",
"destination": {
"country": "USA",
"postal_code": "90001"
},
"equipment_type": "REEFER",
"is_contract": true,
"notes": "Temperature-controlled lane for produce",
"preference_level": "PRIMARY",
"shipping_method": "FTL",
"source": {
"country": "USA",
"state": "TX"
},
"target_fuel_surcharge_rate": 450,
"target_line_haul_rate": 3200
}Response
Successful Response
Example response
{
"description": "Preferred lane from Chicago to Los Angeles",
"value": {
"automation_enabled": false,
"carrier_id": "carrier-789",
"data_origins": [
"MENTIUM"
],
"destination": {
"city": "Los Angeles",
"country": "US",
"latitude": 34.0522,
"longitude": -118.2437,
"postal_code": "90001",
"postal_code_prefix": "900",
"radius_miles": 75,
"state": "CA"
},
"equipment_type": "DRY_VAN",
"id": "123e4567-e89b-12d3-a456-426614174000",
"integration_connection_id": "int-456",
"is_contract": false,
"notes": "Preferred lane with consistent backhaul opportunities",
"organization_id": "org-123",
"preference_level": "PREFERRED",
"shipping_method": "FTL",
"source": {
"city": "Chicago",
"country": "US",
"latitude": 41.8781,
"longitude": -87.6298,
"postal_code": "60601",
"postal_code_prefix": "606",
"radius_miles": 50,
"state": "IL"
},
"target_fuel_surcharge_rate": 350,
"target_line_haul_rate": 2500
}
}Changes
- breaking
removed the enum value
BULK_DRY_DUMPof the request property - breaking
removed the enum value
BULK_DRY_HOPPERof the request property - breaking
removed the enum value
BULK_DRY_PNEUMATICof the request property - breaking
removed the enum value
DRY_VANof the request property - breaking
removed the enum value
FLATBEDof the request property - breaking
removed the enum value
FLATBED_CONESTOGAof the request property - breaking
removed the enum value
FTLof the request property - breaking
removed the enum value
HOTSHOTof the request property - breaking
removed the enum value
INTERMODALof the request property - breaking
removed the enum value
LOWBOYof the request property - breaking
removed the enum value
LTLof the request property - breaking
removed the enum value
MENTIUM_UNKNOWN_VALUEof the request property - breaking
removed the enum value
MENTIUM_UNKNOWN_VALUEof the request property - breaking
removed the enum value
POWER_ONLYof the request property - breaking
removed the enum value
PTLof the request property - breaking
removed the enum value
REEFERof the request property - breaking
removed the enum value
REMOVABLE_GOOSENECKof the request property - breaking
removed the enum value
SPRINTERof the request property - breaking
removed the enum value
STEPDECKof the request property - breaking
removed the enum value
STEPDECK_CONESTOGAof the request property - breaking
removed the enum value
STRAIGHTof the request property - breaking
removed the enum value
TANKERof the request property - breaking
the
request property type changed fromstringto no type - breaking
the
request property type changed fromstringto no type - breaking
the response property
became optional for the status - breaking
the response property
became optional for the status - breaking
the
response's property type changed fromstringto no type for status - breaking
the
response's property type changed fromstringto no type for status - info
added
subschema #2to therequest propertyanyOflist - info
added
subschema #2to therequest propertyanyOflist - info
the request property
became optional - info
the request property
became optional - info
added
subschema #2to theresponse propertyanyOflist for the response status - info
added
subschema #2to theresponse propertyanyOflist for the response status - info
removed the
BULK_DRY_DUMPenum value from theresponse property for the response status - info
removed the
BULK_DRY_HOPPERenum value from theresponse property for the response status - info
removed the
BULK_DRY_PNEUMATICenum value from theresponse property for the response status - info
removed the
DRY_VANenum value from theresponse property for the response status - info
removed the
FLATBEDenum value from theresponse property for the response status - info
removed the
FLATBED_CONESTOGAenum value from theresponse property for the response status - info
removed the
FTLenum value from theresponse property for the response status - info
removed the
HOTSHOTenum value from theresponse property for the response status - info
removed the
INTERMODALenum value from theresponse property for the response status - info
removed the
LOWBOYenum value from theresponse property for the response status - info
removed the
LTLenum value from theresponse property for the response status - info
removed the
MENTIUM_UNKNOWN_VALUEenum value from theresponse property for the response status - info
removed the
MENTIUM_UNKNOWN_VALUEenum value from theresponse property for the response status - info
removed the
POWER_ONLYenum value from theresponse property for the response status - info
removed the
PTLenum value from theresponse property for the response status - info
removed the
REEFERenum value from theresponse property for the response status - info
removed the
REMOVABLE_GOOSENECKenum value from theresponse property for the response status - info
removed the
SPRINTERenum value from theresponse property for the response status - info
removed the
STEPDECKenum value from theresponse property for the response status - info
removed the
STEPDECK_CONESTOGAenum value from theresponse property for the response status - info
removed the
STRAIGHTenum value from theresponse property for the response status - info
removed the
TANKERenum value from theresponse property for the response status
- breaking