The /v3/carriers/set/status endpoint lets you set a carrier’s usability status within your network.
For TMS integrators, this endpoint is useful for letting brokers add and remove carriers from their DNU/DNL list. These carriers do not receive load notifications.
Notes on this endpoint:
- Requires secret key. This endpoint must be called from the server side to avoid compromising your secret API key. Please do not use your secret key in client-side JavaScript.
HTTP request
Method
URL
POSTRequired parameters
Name
Type
Value(s)
pkstringYour public API key
skstringYour secret API key
emailstringEmail address of the VETCarriers user who is making the API call
id_typestringOne of:
id_numberstringA properly formatted DOT or MC number
carrier_statusstringOne of:
Return values
This endpoint returns an object with the following keys and values.
Key
Type
Value
carrier_statusstringOne of:
responseobject{}An object with the following fields:
{
}
{
stringintegerinteger}
Example response
{
"carrier_status": "dnu",
"response": {
"date_time": "2022-11-27 16:43:21 UTC",
"timestamp": 1669567401,
"status": 200
}
}