Number of results per page
- Delete customer contact
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/customer-contacts/filter
- Productionhttps://api.mvmnt.io/v1/customer-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/customer-contacts/filter \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"filter": {
"and": [
{
"isPrimary": {
"equalTo": true
}
},
{
"contactTypes": {
"includes": "BILLING"
}
}
]
},
"pageSize": 50
}'Filtered customer contacts with pagination
Object type identifier
Unique contact identifier
Customer UUID
Client-defined reference ID if set
Customer status
Customer website URL
When the customer was created
When the customer was last updated
Contact person's name (denormalized from ContactInfo for convenience)
Types/roles this contact serves
Shipment notification types to send to this contact
Enhanced reference to a user resource (returned in responses). Includes full user details in addition to id/key.
Note: Does NOT include nested references (teams, etc.) to prevent recursion. Maximum nesting depth: 1 level.
Enhanced reference to a user resource (returned in responses). Includes full user details in addition to id/key.
Note: Does NOT include nested references (teams, etc.) to prevent recursion. Maximum nesting depth: 1 level.
Client-defined reference identifier
When the contact was created
{ "data": [ { … } ], "pageInfo": { "pageSize": 50, "hasNextPage": true, "hasPreviousPage": false, "endCursor": "eyJpZCI6IjU1MGU4NDAwLWUyOWItNDFkNC1hNzE2LTQ0NjY1NTQ0MDAwMCJ9" } }
Customer this contact belongs to
Types/roles this contact serves
Shipment notification types to send to this contact
- Mock serverhttps://docs.mvmnt.io/_mock/apis/openapi/customer-contacts
- Productionhttps://api.mvmnt.io/v1/customer-contacts
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://docs.mvmnt.io/_mock/apis/openapi/customer-contacts \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"customerId": "550e8400-e29b-41d4-a716-446655440001",
"name": "John Smith",
"contactInfo": {
"name": "John Smith",
"email": "john.smith@example.com",
"phoneNumber": "+1-555-0100",
"title": "Operations Manager"
},
"phoneExtension": "1234",
"isPrimary": true,
"contactTypes": [
"BILLING",
"ACCOUNT_MANAGER"
],
"notifications": [
"SHIPMENT_PICKED_UP",
"SHIPMENT_DELIVERED"
],
"key": "ERP-CONTACT-JOHN-001"
}'Customer contact created successfully
Unique contact identifier
Client-defined reference ID if set
Customer status
When the customer was created
When the customer was last updated
Contact person's name (denormalized from ContactInfo for convenience)
Types/roles this contact serves
Shipment notification types to send to this contact
Enhanced reference to a user resource (returned in responses). Includes full user details in addition to id/key.
Note: Does NOT include nested references (teams, etc.) to prevent recursion. Maximum nesting depth: 1 level.
Enhanced reference to a user resource (returned in responses). Includes full user details in addition to id/key.
Note: Does NOT include nested references (teams, etc.) to prevent recursion. Maximum nesting depth: 1 level.
Client-defined reference identifier
When the contact was created
{ "object": "CUSTOMER_CONTACT", "id": "550e8400-e29b-41d4-a716-446655440000", "customer": { "id": "550e8400-e29b-41d4-a716-446655440000", "key": "ERP-CUSTOMER-ACME", "name": "Acme Manufacturing Corp", "friendlyId": "A123456", "status": "ACTIVE", "phoneNumber": "+1-555-123-4567", "website": "https://acme-manufacturing.com", "createdAt": "2025-01-15T10:00:00Z", "updatedAt": "2025-01-15T14:30:00Z", "deletedAt": null }, "name": "John Smith", "contactInfo": { "name": "John Smith", "email": "john.smith@example.com", "phoneNumber": "+1-555-0100", "title": "Operations Manager" }, "phoneExtension": "1234", "isPrimary": true, "contactTypes": [ "BILLING", "ACCOUNT_MANAGER" ], "notifications": [ "SHIPMENT_PICKED_UP", "SHIPMENT_DELIVERED" ], "invitedUser": { "id": "550e8400-e29b-41d4-a716-446655440000", "key": "ERP-USER-12345", "email": "john.doe@example.com", "name": "John Doe", "phone": "+1-555-123-4567", "phoneExt": "123", "status": "ACTIVE", "avatarId": "7c9e6679-7425-40de-944b-e07fc1f90ae7", "createdAt": "2025-01-15T10:00:00Z", "updatedAt": "2025-01-15T14:30:00Z", "deletedAt": null }, "deletedBy": { "id": "550e8400-e29b-41d4-a716-446655440000", "key": "ERP-USER-12345", "email": "john.doe@example.com", "name": "John Doe", "phone": "+1-555-123-4567", "phoneExt": "123", "status": "ACTIVE", "avatarId": "7c9e6679-7425-40de-944b-e07fc1f90ae7", "createdAt": "2025-01-15T10:00:00Z", "updatedAt": "2025-01-15T14:30:00Z", "deletedAt": null }, "key": "ERP-CONTACT-JOHN-001", "createdAt": "2025-01-15T10:00:00Z", "deletedAt": null }
- Mock serverhttps://docs.mvmnt.io/_mock/apis/openapi/customer-contacts/{id}
- Productionhttps://api.mvmnt.io/v1/customer-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/customer-contacts/550e8400-e29b-41d4-a716-446655440000 \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'Customer contact found
Unique contact identifier
Client-defined reference ID if set
Customer status
When the customer was created
When the customer was last updated
Contact person's name (denormalized from ContactInfo for convenience)
Types/roles this contact serves
Shipment notification types to send to this contact
Enhanced reference to a user resource (returned in responses). Includes full user details in addition to id/key.
Note: Does NOT include nested references (teams, etc.) to prevent recursion. Maximum nesting depth: 1 level.
Enhanced reference to a user resource (returned in responses). Includes full user details in addition to id/key.
Note: Does NOT include nested references (teams, etc.) to prevent recursion. Maximum nesting depth: 1 level.
Client-defined reference identifier
When the contact was created
{ "object": "CUSTOMER_CONTACT", "id": "550e8400-e29b-41d4-a716-446655440000", "customer": { "id": "550e8400-e29b-41d4-a716-446655440000", "key": "ERP-CUSTOMER-ACME", "name": "Acme Manufacturing Corp", "friendlyId": "A123456", "status": "ACTIVE", "phoneNumber": "+1-555-123-4567", "website": "https://acme-manufacturing.com", "createdAt": "2025-01-15T10:00:00Z", "updatedAt": "2025-01-15T14:30:00Z", "deletedAt": null }, "name": "John Smith", "contactInfo": { "name": "John Smith", "email": "john.smith@example.com", "phoneNumber": "+1-555-0100", "title": "Operations Manager" }, "phoneExtension": "1234", "isPrimary": true, "contactTypes": [ "BILLING", "ACCOUNT_MANAGER" ], "notifications": [ "SHIPMENT_PICKED_UP", "SHIPMENT_DELIVERED" ], "invitedUser": { "id": "550e8400-e29b-41d4-a716-446655440000", "key": "ERP-USER-12345", "email": "john.doe@example.com", "name": "John Doe", "phone": "+1-555-123-4567", "phoneExt": "123", "status": "ACTIVE", "avatarId": "7c9e6679-7425-40de-944b-e07fc1f90ae7", "createdAt": "2025-01-15T10:00:00Z", "updatedAt": "2025-01-15T14:30:00Z", "deletedAt": null }, "deletedBy": { "id": "550e8400-e29b-41d4-a716-446655440000", "key": "ERP-USER-12345", "email": "john.doe@example.com", "name": "John Doe", "phone": "+1-555-123-4567", "phoneExt": "123", "status": "ACTIVE", "avatarId": "7c9e6679-7425-40de-944b-e07fc1f90ae7", "createdAt": "2025-01-15T10:00:00Z", "updatedAt": "2025-01-15T14:30:00Z", "deletedAt": null }, "key": "ERP-CONTACT-JOHN-001", "createdAt": "2025-01-15T10:00:00Z", "deletedAt": null }
Request
Partially update a customer contact. Only provided fields will be updated.
- Omitted fields: Not modified (current value preserved)
- Provided fields: Updated to the new value
- Null values: Clear the field (set to null) where applicable
When updating contactInfo, the underlying Contact record is updated.
Contact person's name (should match contactInfo.name if updating both)
Partial contact information update. All fields are optional.
- Omitted fields: Not modified (current value preserved)
- Provided fields: Updated to the new value
- Null values: Clear the field (set to null) where applicable
Types/roles this contact serves (replaces entire array)
Notification types (replaces entire array)
- Mock serverhttps://docs.mvmnt.io/_mock/apis/openapi/customer-contacts/{id}
- Productionhttps://api.mvmnt.io/v1/customer-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/customer-contacts/550e8400-e29b-41d4-a716-446655440000 \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"name": "John Smith",
"contactInfo": {
"name": "John Smith",
"email": "john.smith@example.com",
"phoneNumber": "+1-555-0100",
"title": "Operations Manager"
},
"phoneExtension": "1234",
"isPrimary": true,
"contactTypes": [
"BILLING",
"ACCOUNT_MANAGER"
],
"notifications": [
"SHIPMENT_PICKED_UP",
"SHIPMENT_DELIVERED"
],
"key": "ERP-CONTACT-JOHN-001"
}'Customer contact updated successfully
Unique contact identifier
Client-defined reference ID if set
Customer status
When the customer was created
When the customer was last updated
Contact person's name (denormalized from ContactInfo for convenience)
Types/roles this contact serves
Shipment notification types to send to this contact
Enhanced reference to a user resource (returned in responses). Includes full user details in addition to id/key.
Note: Does NOT include nested references (teams, etc.) to prevent recursion. Maximum nesting depth: 1 level.
Enhanced reference to a user resource (returned in responses). Includes full user details in addition to id/key.
Note: Does NOT include nested references (teams, etc.) to prevent recursion. Maximum nesting depth: 1 level.
Client-defined reference identifier
When the contact was created
{ "object": "CUSTOMER_CONTACT", "id": "550e8400-e29b-41d4-a716-446655440000", "customer": { "id": "550e8400-e29b-41d4-a716-446655440000", "key": "ERP-CUSTOMER-ACME", "name": "Acme Manufacturing Corp", "friendlyId": "A123456", "status": "ACTIVE", "phoneNumber": "+1-555-123-4567", "website": "https://acme-manufacturing.com", "createdAt": "2025-01-15T10:00:00Z", "updatedAt": "2025-01-15T14:30:00Z", "deletedAt": null }, "name": "John Smith", "contactInfo": { "name": "John Smith", "email": "john.smith@example.com", "phoneNumber": "+1-555-0100", "title": "Operations Manager" }, "phoneExtension": "1234", "isPrimary": true, "contactTypes": [ "BILLING", "ACCOUNT_MANAGER" ], "notifications": [ "SHIPMENT_PICKED_UP", "SHIPMENT_DELIVERED" ], "invitedUser": { "id": "550e8400-e29b-41d4-a716-446655440000", "key": "ERP-USER-12345", "email": "john.doe@example.com", "name": "John Doe", "phone": "+1-555-123-4567", "phoneExt": "123", "status": "ACTIVE", "avatarId": "7c9e6679-7425-40de-944b-e07fc1f90ae7", "createdAt": "2025-01-15T10:00:00Z", "updatedAt": "2025-01-15T14:30:00Z", "deletedAt": null }, "deletedBy": { "id": "550e8400-e29b-41d4-a716-446655440000", "key": "ERP-USER-12345", "email": "john.doe@example.com", "name": "John Doe", "phone": "+1-555-123-4567", "phoneExt": "123", "status": "ACTIVE", "avatarId": "7c9e6679-7425-40de-944b-e07fc1f90ae7", "createdAt": "2025-01-15T10:00:00Z", "updatedAt": "2025-01-15T14:30:00Z", "deletedAt": null }, "key": "ERP-CONTACT-JOHN-001", "createdAt": "2025-01-15T10:00:00Z", "deletedAt": null }
- Mock serverhttps://docs.mvmnt.io/_mock/apis/openapi/customer-contacts/{id}
- Productionhttps://api.mvmnt.io/v1/customer-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/customer-contacts/550e8400-e29b-41d4-a716-446655440000 \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'