Carrier management operations
- Create a new location contact
MVMNT API (1.0.0)
The MVMNT API enables you to automate freight brokerage workflows by integrating directly with our Transportation Management System.
Postman setup guide: API Clients.
OAuth 2.0 client credentials flow. See Authentication Guide for details.
Headers:
Content-Type: application/x-www-form-urlencodedBody Parameters:
grant_type=client_credentials
client_id=YOUR_CLIENT_ID
client_secret=YOUR_CLIENT_SECRETcurl -X POST https://api.mvmnt.io/oauth2/token \
-H "Content-Type: application/x-www-form-urlencoded" \
-d "grant_type=client_credentials" \
-d "client_id=YOUR_CLIENT_ID" \
-d "client_secret=YOUR_CLIENT_SECRET"Status: 200 OK
{
"access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9...",
"token_type": "Bearer",
"expires_in": 3600
}Response Fields:
access_token: JWT Bearer token to use for API requeststoken_type: AlwaysBearerexpires_in: Token lifetime in seconds (3600 = 1 hour)
Mutating requests (POST, PATCH, DELETE) accept an optional Idempotency-Key header (up to 255 characters). Retrying a request with the same key and the same body returns the original result instead of repeating the operation; reusing a key with a different body fails. Keys are scoped to your organization — keys chosen by other tenants can never collide with yours. Use a stable identifier from your system (for example your own record id plus the action) rather than a random value per attempt.
Filter criteria (optional - omit to return all location contacts).
Note: deletedAt automatically defaults to { isNull: true } unless explicitly overridden.
- Productionhttps://api.mvmnt.io/v1/location-contacts/filter
- Demo (non-production)https://api.demo.mvmnt.io/v1/location-contacts/filter
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://api.mvmnt.io/v1/location-contacts/filter \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"filter": {
"and": [
{
"locationId": {
"equalTo": "770e8400-e29b-41d4-a716-446655440000"
}
},
{
"isPrimary": {
"equalTo": true
}
}
]
},
"pageSize": 50
}'Filtered location contacts with pagination
Unique location contact identifier
Location this contact is associated with
Customer contact linked to this location
Roles/types for this location contact
Client-defined reference identifier for this location contact
Timestamp when location contact was created
Timestamp when location contact was last updated
{ "data": [ { … } ], "pageInfo": { "pageSize": 50, "hasNextPage": true, "hasPreviousPage": false, "endCursor": "eyJpZCI6IjU1MGU4NDAwLWUyOWItNDFkNC1hNzE2LTQ0NjY1NTQ0MDAwMCJ9" } }
Location this contact is associated with (required)
Customer contact to link to this location (required)
Whether this is the primary contact for the location (required)
Roles/types for this location contact
- Productionhttps://api.mvmnt.io/v1/location-contacts
- Demo (non-production)https://api.demo.mvmnt.io/v1/location-contacts
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://api.mvmnt.io/v1/location-contacts \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"locationId": "770e8400-e29b-41d4-a716-446655440000",
"customerContactId": "660e8400-e29b-41d4-a716-446655440000",
"isPrimary": true,
"contactTypes": [
"LOCATION_MANAGER",
"SHIPPING"
],
"key": "ERP-LOC-CONTACT-001"
}'Location contact created successfully
Unique location contact identifier
Location this contact is associated with
Customer contact linked to this location
Roles/types for this location contact
Client-defined reference identifier for this location contact
Timestamp when location contact was created
Timestamp when location contact was last updated
{ "object": "LOCATION_CONTACT", "id": "880e8400-e29b-41d4-a716-446655440000", "locationId": "770e8400-e29b-41d4-a716-446655440000", "location": { "object": "LOCATION", "id": "770e8400-e29b-41d4-a716-446655440000", "customerId": "550e8400-e29b-41d4-a716-446655440000", "customer": { … }, "address": { … }, "name": "ABC Warehouse - Dallas", "key": "ERP-LOC-DALLAS-01", "type": "SHIPPER", "isAppointmentRequired": true, "notes": "Call 24 hours ahead for appointment", "internalNotes": "Use dock door 5 for expedited shipments", "contacts": [ … ], "createdAt": "2025-01-15T10:00:00Z", "updatedAt": "2025-01-15T14:30:00Z", "deletedAt": null }, "customerContactId": "660e8400-e29b-41d4-a716-446655440000", "customerContact": { "object": "CUSTOMER_CONTACT", "id": "550e8400-e29b-41d4-a716-446655440000", "customer": { … }, "name": "John Smith", "contactInfo": { … }, "phoneExtension": "1234", "isPrimary": true, "contactTypes": [ … ], "notifications": [ … ], "invitedUser": { … }, "deletedBy": { … }, "key": "ERP-CONTACT-JOHN-001", "createdAt": "2025-01-15T10:00:00Z", "deletedAt": null }, "isPrimary": true, "contactTypes": [ "LOCATION_MANAGER", "SHIPPING" ], "key": "ERP-LOC-CONTACT-001", "createdAt": "2025-01-15T10:00:00Z", "updatedAt": "2025-01-15T14:30:00Z", "deletedAt": null }
- Productionhttps://api.mvmnt.io/v1/location-contacts/{id}
- Demo (non-production)https://api.demo.mvmnt.io/v1/location-contacts/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
https://api.mvmnt.io/v1/location-contacts/550e8400-e29b-41d4-a716-446655440000 \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'Location contact found
Unique location contact identifier
Location this contact is associated with
Customer contact linked to this location
Roles/types for this location contact
Client-defined reference identifier for this location contact
Timestamp when location contact was created
Timestamp when location contact was last updated
{ "object": "LOCATION_CONTACT", "id": "880e8400-e29b-41d4-a716-446655440000", "locationId": "770e8400-e29b-41d4-a716-446655440000", "location": { "object": "LOCATION", "id": "770e8400-e29b-41d4-a716-446655440000", "customerId": "550e8400-e29b-41d4-a716-446655440000", "customer": { … }, "address": { … }, "name": "ABC Warehouse - Dallas", "key": "ERP-LOC-DALLAS-01", "type": "SHIPPER", "isAppointmentRequired": true, "notes": "Call 24 hours ahead for appointment", "internalNotes": "Use dock door 5 for expedited shipments", "contacts": [ … ], "createdAt": "2025-01-15T10:00:00Z", "updatedAt": "2025-01-15T14:30:00Z", "deletedAt": null }, "customerContactId": "660e8400-e29b-41d4-a716-446655440000", "customerContact": { "object": "CUSTOMER_CONTACT", "id": "550e8400-e29b-41d4-a716-446655440000", "customer": { … }, "name": "John Smith", "contactInfo": { … }, "phoneExtension": "1234", "isPrimary": true, "contactTypes": [ … ], "notifications": [ … ], "invitedUser": { … }, "deletedBy": { … }, "key": "ERP-CONTACT-JOHN-001", "createdAt": "2025-01-15T10:00:00Z", "deletedAt": null }, "isPrimary": true, "contactTypes": [ "LOCATION_MANAGER", "SHIPPING" ], "key": "ERP-LOC-CONTACT-001", "createdAt": "2025-01-15T10:00:00Z", "updatedAt": "2025-01-15T14:30:00Z", "deletedAt": null }
Location this contact is associated with
Customer contact linked to this location
Roles/types for this location contact
- Productionhttps://api.mvmnt.io/v1/location-contacts/{id}
- Demo (non-production)https://api.demo.mvmnt.io/v1/location-contacts/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PATCH \
https://api.mvmnt.io/v1/location-contacts/550e8400-e29b-41d4-a716-446655440000 \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"contactTypes": [
"LOCATION_MANAGER",
"SHIPPING",
"RECEIVING"
]
}'Location contact updated successfully
Unique location contact identifier
Location this contact is associated with
Customer contact linked to this location
Roles/types for this location contact
Client-defined reference identifier for this location contact
Timestamp when location contact was created
Timestamp when location contact was last updated
{ "object": "LOCATION_CONTACT", "id": "880e8400-e29b-41d4-a716-446655440000", "locationId": "770e8400-e29b-41d4-a716-446655440000", "location": { "object": "LOCATION", "id": "770e8400-e29b-41d4-a716-446655440000", "customerId": "550e8400-e29b-41d4-a716-446655440000", "customer": { … }, "address": { … }, "name": "ABC Warehouse - Dallas", "key": "ERP-LOC-DALLAS-01", "type": "SHIPPER", "isAppointmentRequired": true, "notes": "Call 24 hours ahead for appointment", "internalNotes": "Use dock door 5 for expedited shipments", "contacts": [ … ], "createdAt": "2025-01-15T10:00:00Z", "updatedAt": "2025-01-15T14:30:00Z", "deletedAt": null }, "customerContactId": "660e8400-e29b-41d4-a716-446655440000", "customerContact": { "object": "CUSTOMER_CONTACT", "id": "550e8400-e29b-41d4-a716-446655440000", "customer": { … }, "name": "John Smith", "contactInfo": { … }, "phoneExtension": "1234", "isPrimary": true, "contactTypes": [ … ], "notifications": [ … ], "invitedUser": { … }, "deletedBy": { … }, "key": "ERP-CONTACT-JOHN-001", "createdAt": "2025-01-15T10:00:00Z", "deletedAt": null }, "isPrimary": true, "contactTypes": [ "LOCATION_MANAGER", "SHIPPING" ], "key": "ERP-LOC-CONTACT-001", "createdAt": "2025-01-15T10:00:00Z", "updatedAt": "2025-01-15T14:30:00Z", "deletedAt": null }
- Productionhttps://api.mvmnt.io/v1/location-contacts/{id}
- Demo (non-production)https://api.demo.mvmnt.io/v1/location-contacts/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
https://api.mvmnt.io/v1/location-contacts/550e8400-e29b-41d4-a716-446655440000 \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'Reference Data
Read-only catalogs (equipment, charge codes, special requirements) referenced by id from other resources.
Every catalog also answers on its short top-level path, so GET /v1/charge-codes and GET /v1/reference-data/charge-codes are the same endpoint. The documented /reference-data/* form is canonical — it keeps the catalogs grouped here as more are added (port codes, cities, zip codes) — and the short form is a convenience alias.