Number of results per page
- Get a location contact by ID
MVMNT API (1.0.0)
The MVMNT API enables you to automate freight brokerage workflows by integrating directly with our Transportation Management System.
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"- Mock serverhttps://docs.mvmnt.io/_mock/apis/openapi/location-contacts/filter
- Productionhttps://api.mvmnt.io/v1/location-contacts/filter
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://docs.mvmnt.io/_mock/apis/openapi/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
Object type identifier
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
- Mock serverhttps://docs.mvmnt.io/_mock/apis/openapi/location-contacts
- Productionhttps://api.mvmnt.io/v1/location-contacts
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://docs.mvmnt.io/_mock/apis/openapi/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": { … }, "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 }
- Mock serverhttps://docs.mvmnt.io/_mock/apis/openapi/location-contacts/{id}
- Productionhttps://api.mvmnt.io/v1/location-contacts/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
https://docs.mvmnt.io/_mock/apis/openapi/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": { … }, "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
- Mock serverhttps://docs.mvmnt.io/_mock/apis/openapi/location-contacts/{id}
- Productionhttps://api.mvmnt.io/v1/location-contacts/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PATCH \
https://docs.mvmnt.io/_mock/apis/openapi/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": { … }, "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 }
- Mock serverhttps://docs.mvmnt.io/_mock/apis/openapi/location-contacts/{id}
- Productionhttps://api.mvmnt.io/v1/location-contacts/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
https://docs.mvmnt.io/_mock/apis/openapi/location-contacts/550e8400-e29b-41d4-a716-446655440000 \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'