Number of results per page
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/customers/filter
- Productionhttps://api.mvmnt.io/v1/customers/filter
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://docs.mvmnt.io/_mock/apis/openapi/customers/filter \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"filter": {
"and": [
{
"status": {
"equalTo": "ACTIVE"
}
},
{
"industry": {
"includes": "Manufacturing"
}
}
]
},
"pageSize": 50
}'{ "data": [ { … } ], "pagination": { "pageSize": 50, "hasNextPage": true, "hasPreviousPage": false, "endCursor": "eyJpZCI6IjU1MGU4NDAwLWUyOWItNDFkNC1hNzE2LTQ0NjY1NTQ0MDAwMCJ9" } }
Default external notes template
Reference to another resource by either ID or client key (used in create/update requests)
- Mock serverhttps://docs.mvmnt.io/_mock/apis/openapi/customers
- Productionhttps://api.mvmnt.io/v1/customers
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://docs.mvmnt.io/_mock/apis/openapi/customers \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"name": "Acme Manufacturing Corp",
"status": "NEW",
"serviceTier": "TIER_1",
"website": "https://acme-manufacturing.com",
"phoneNumber": "+1-555-123-4567",
"industry": "AGRICULTURE_FORESTRY",
"annualRevenue": "_0_TO_500K",
"annualSpend": "_0_TO_25K",
"spendType": "CONTRACT",
"naics": "336411",
"ein": "12-3456789",
"duns": "123456789",
"leadSource": "Referral",
"dbaName": "Acme Corp DBA",
"numberOfEmployees": "_0_TO_1",
"externalId": "EXT-12345",
"currency": "USD",
"creditLimit": 50000,
"creditUsageWarning": 40000,
"freeCreditReq": 5000,
"defaultMode": "FTL",
"defaultMargin": 0.15,
"minMargin": 0.1,
"maxMargin": 0.25,
"defaultInternalNotes": "Contact via email only",
"defaultExternalNotes": "Please call 1 hour before delivery",
"autoAcceptTender": false,
"groupId": "eb54e96e-21b8-4f54-9cd4-80fccbd06f55",
"paymentTerm": {
"id": "550e8400-e29b-41d4-a716-446655440000"
},
"notes": "Prefers email communication",
"deactivationReason": "NOT_PAYING_INVOICE",
"deactivationNotes": "string",
"deactivationDate": "2019-08-24T14:15:22Z",
"corporateAddress": {
"line1": "123 Main St",
"line2": "Suite 400",
"city": "Chicago",
"country": "USA",
"market": "CHI",
"latitude": "41.8781",
"longitude": "-87.6298",
"isAirportOrAirbase": false,
"isConstructionOrUtilitySite": false,
"isSmartyValidated": true,
"obeysDst": true,
"cityId": "c903c051-7337-48de-bbe0-bca96fcde3f4"
},
"billingAddress": {
"line1": "123 Main St",
"line2": "Suite 400",
"city": "Chicago",
"country": "USA",
"market": "CHI",
"latitude": "41.8781",
"longitude": "-87.6298",
"isAirportOrAirbase": false,
"isConstructionOrUtilitySite": false,
"isSmartyValidated": true,
"obeysDst": true,
"cityId": "c903c051-7337-48de-bbe0-bca96fcde3f4"
},
"qboCustomerId": "string",
"key": "ERP-CUSTOMER-12345"
}'Customer created successfully
Unique customer identifier
Human-readable customer identifier, starts with "A"
Service tier level for the customer
Industry classification for the customer
Annual revenue range
Annual freight spend estimate range
Customer spend type:
CONTRACT: Customer operates under contract pricingSPOT: Customer operates on spot market pricing
Number of employees in the company
Preferred currency for transactions
Transportation mode type
Default external notes template
Reference to another resource (returned in responses)
Enhanced reference to a payment term resource (returned in responses). Includes full payment term details in addition to id/key.
Reason for customer deactivation:
NOT_PAYING_INVOICE: Customer is not paying invoicesACQUIRED: Customer was acquired by another companyDUPLICATE: Duplicate customer recordNOT_IN_BUSINESS: Customer is no longer in businessOTHER: Other reason (see deactivationNotes for details)
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.
Physical address/location details (nested, without id).
This is an embedded object representing a Location record. The id is managed internally and not exposed in the API.
Physical address/location details (nested, without id).
This is an embedded object representing a Location record. The id is managed internally and not exposed in the API.
Client-defined reference identifier for this customer
Timestamp when customer was created
Timestamp when customer was last updated
Timestamp when customer was soft-deleted (null if active)
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.
{ "object": "CUSTOMER", "id": "550e8400-e29b-41d4-a716-446655440000", "name": "Acme Manufacturing Corp", "friendlyId": "A123456", "status": "NEW", "serviceTier": "TIER_1", "website": "https://acme-manufacturing.com", "phoneNumber": "+1-555-123-4567", "industry": "AGRICULTURE_FORESTRY", "annualRevenue": "_0_TO_500K", "annualSpend": "_0_TO_25K", "spendType": "CONTRACT", "naics": "336411", "ein": "12-3456789", "duns": "123456789", "leadSource": "Referral", "dbaName": "Acme Corp DBA", "numberOfEmployees": "_0_TO_1", "externalId": "EXT-12345", "currency": "USD", "creditLimit": 50000, "creditUsageWarning": 40000, "freeCreditReq": 5000, "defaultMode": "FTL", "defaultMargin": 0.15, "minMargin": 0.1, "maxMargin": 0.25, "defaultInternalNotes": "Contact via email only", "defaultExternalNotes": "Please call 1 hour before delivery", "autoAcceptTender": false, "group": { "id": "550e8400-e29b-41d4-a716-446655440000", "key": "ERP-USER-12345" }, "paymentTerm": { "id": "550e8400-e29b-41d4-a716-446655440000", "key": "ERP-PAYTERM-NET30", "name": "Net 30", "description": "Payment due 30 days from invoice date", "days": 30, "quickPayFee": 0.05, "apOnly": false, "doNotUse": false, "createdAt": "2025-01-15T10:00:00Z", "updatedAt": "2025-01-15T14:30:00Z", "deletedAt": null }, "notes": "Prefers email communication", "deactivationReason": "NOT_PAYING_INVOICE", "deactivationNotes": "string", "deactivationDate": null, "closedAt": null, "closedBy": { "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 }, "closedNotes": "string", "corporateAddress": { "line1": "123 Main St", "line2": "Suite 400", "city": "Chicago", "country": "USA", "market": "CHI", "latitude": "41.8781", "longitude": "-87.6298", "isAirportOrAirbase": false, "isConstructionOrUtilitySite": false, "isSmartyValidated": true, "obeysDst": true, "cityId": null }, "billingAddress": { "line1": "123 Main St", "line2": "Suite 400", "city": "Chicago", "country": "USA", "market": "CHI", "latitude": "41.8781", "longitude": "-87.6298", "isAirportOrAirbase": false, "isConstructionOrUtilitySite": false, "isSmartyValidated": true, "obeysDst": true, "cityId": null }, "qboCustomerId": null, "key": "ERP-CUSTOMER-12345", "contacts": [ { … } ], "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 } }
- Mock serverhttps://docs.mvmnt.io/_mock/apis/openapi/customers/{id}
- Productionhttps://api.mvmnt.io/v1/customers/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.mvmnt.io/_mock/apis/openapi/customers/550e8400-e29b-41d4-a716-446655440000?by=key' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'Successful response
Unique customer identifier
Human-readable customer identifier, starts with "A"
Service tier level for the customer
Industry classification for the customer
Annual revenue range
Annual freight spend estimate range
Customer spend type:
CONTRACT: Customer operates under contract pricingSPOT: Customer operates on spot market pricing
Number of employees in the company
Preferred currency for transactions
Transportation mode type
Default external notes template
Reference to another resource (returned in responses)
Enhanced reference to a payment term resource (returned in responses). Includes full payment term details in addition to id/key.
Reason for customer deactivation:
NOT_PAYING_INVOICE: Customer is not paying invoicesACQUIRED: Customer was acquired by another companyDUPLICATE: Duplicate customer recordNOT_IN_BUSINESS: Customer is no longer in businessOTHER: Other reason (see deactivationNotes for details)
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.
Physical address/location details (nested, without id).
This is an embedded object representing a Location record. The id is managed internally and not exposed in the API.
Physical address/location details (nested, without id).
This is an embedded object representing a Location record. The id is managed internally and not exposed in the API.
Client-defined reference identifier for this customer
Timestamp when customer was created
Timestamp when customer was last updated
Timestamp when customer was soft-deleted (null if active)
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.
{ "object": "CUSTOMER", "id": "550e8400-e29b-41d4-a716-446655440000", "name": "Acme Manufacturing Corp", "friendlyId": "A123456", "status": "NEW", "serviceTier": "TIER_1", "website": "https://acme-manufacturing.com", "phoneNumber": "+1-555-123-4567", "industry": "AGRICULTURE_FORESTRY", "annualRevenue": "_0_TO_500K", "annualSpend": "_0_TO_25K", "spendType": "CONTRACT", "naics": "336411", "ein": "12-3456789", "duns": "123456789", "leadSource": "Referral", "dbaName": "Acme Corp DBA", "numberOfEmployees": "_0_TO_1", "externalId": "EXT-12345", "currency": "USD", "creditLimit": 50000, "creditUsageWarning": 40000, "freeCreditReq": 5000, "defaultMode": "FTL", "defaultMargin": 0.15, "minMargin": 0.1, "maxMargin": 0.25, "defaultInternalNotes": "Contact via email only", "defaultExternalNotes": "Please call 1 hour before delivery", "autoAcceptTender": false, "group": { "id": "550e8400-e29b-41d4-a716-446655440000", "key": "ERP-USER-12345" }, "paymentTerm": { "id": "550e8400-e29b-41d4-a716-446655440000", "key": "ERP-PAYTERM-NET30", "name": "Net 30", "description": "Payment due 30 days from invoice date", "days": 30, "quickPayFee": 0.05, "apOnly": false, "doNotUse": false, "createdAt": "2025-01-15T10:00:00Z", "updatedAt": "2025-01-15T14:30:00Z", "deletedAt": null }, "notes": "Prefers email communication", "deactivationReason": "NOT_PAYING_INVOICE", "deactivationNotes": "string", "deactivationDate": null, "closedAt": null, "closedBy": { "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 }, "closedNotes": "string", "corporateAddress": { "line1": "123 Main St", "line2": "Suite 400", "city": "Chicago", "country": "USA", "market": "CHI", "latitude": "41.8781", "longitude": "-87.6298", "isAirportOrAirbase": false, "isConstructionOrUtilitySite": false, "isSmartyValidated": true, "obeysDst": true, "cityId": null }, "billingAddress": { "line1": "123 Main St", "line2": "Suite 400", "city": "Chicago", "country": "USA", "market": "CHI", "latitude": "41.8781", "longitude": "-87.6298", "isAirportOrAirbase": false, "isConstructionOrUtilitySite": false, "isSmartyValidated": true, "obeysDst": true, "cityId": null }, "qboCustomerId": null, "key": "ERP-CUSTOMER-12345", "contacts": [ { … } ], "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 } }
Service tier level for the customer
Industry classification for the customer
Annual revenue range
Annual freight spend estimate range
Customer spend type:
CONTRACT: Customer operates under contract pricingSPOT: Customer operates on spot market pricing
Number of employees in the company
Preferred currency for transactions
Transportation mode type
Default external notes template
Reference to another resource by either ID or client key (used in create/update requests)
Reason for customer deactivation:
NOT_PAYING_INVOICE: Customer is not paying invoicesACQUIRED: Customer was acquired by another companyDUPLICATE: Duplicate customer recordNOT_IN_BUSINESS: Customer is no longer in businessOTHER: Other reason (see deactivationNotes for details)
Partial address 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
Partial address 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
- Mock serverhttps://docs.mvmnt.io/_mock/apis/openapi/customers/{id}
- Productionhttps://api.mvmnt.io/v1/customers/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PATCH \
'https://docs.mvmnt.io/_mock/apis/openapi/customers/550e8400-e29b-41d4-a716-446655440000?by=key' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"name": "Acme Manufacturing Corp",
"status": "NEW",
"serviceTier": "TIER_1",
"website": "https://acme-manufacturing.com",
"phoneNumber": "+1-555-123-4567",
"industry": "AGRICULTURE_FORESTRY",
"annualRevenue": "_0_TO_500K",
"annualSpend": "_0_TO_25K",
"spendType": "CONTRACT",
"naics": "336411",
"ein": "12-3456789",
"duns": "123456789",
"leadSource": "Referral",
"dbaName": "Acme Corp DBA",
"numberOfEmployees": "_0_TO_1",
"externalId": "EXT-12345",
"currency": "USD",
"creditLimit": 50000,
"creditUsageWarning": 40000,
"freeCreditReq": 5000,
"defaultMode": "FTL",
"defaultMargin": 0.15,
"minMargin": 0.1,
"maxMargin": 0.25,
"defaultInternalNotes": "Contact via email only",
"defaultExternalNotes": "Please call 1 hour before delivery",
"autoAcceptTender": false,
"groupId": null,
"paymentTerm": {
"id": "550e8400-e29b-41d4-a716-446655440000"
},
"notes": "Prefers email communication",
"deactivationReason": "NOT_PAYING_INVOICE",
"deactivationNotes": "string",
"deactivationDate": "2019-08-24T14:15:22Z",
"corporateAddress": {
"line1": "123 Main St",
"line2": "Suite 400",
"city": "Chicago",
"country": "USA",
"market": "CHI",
"latitude": "41.8781",
"longitude": "-87.6298",
"isAirportOrAirbase": false,
"isConstructionOrUtilitySite": false,
"isSmartyValidated": true,
"obeysDst": true,
"cityId": null
},
"billingAddress": {
"line1": "123 Main St",
"line2": "Suite 400",
"city": "Chicago",
"country": "USA",
"market": "CHI",
"latitude": "41.8781",
"longitude": "-87.6298",
"isAirportOrAirbase": false,
"isConstructionOrUtilitySite": false,
"isSmartyValidated": true,
"obeysDst": true,
"cityId": null
},
"qboCustomerId": "string",
"key": "ERP-CUSTOMER-12345"
}'Customer updated successfully
Unique customer identifier
Human-readable customer identifier, starts with "A"
Service tier level for the customer
Industry classification for the customer
Annual revenue range
Annual freight spend estimate range
Customer spend type:
CONTRACT: Customer operates under contract pricingSPOT: Customer operates on spot market pricing
Number of employees in the company
Preferred currency for transactions
Transportation mode type
Default external notes template
Reference to another resource (returned in responses)
Enhanced reference to a payment term resource (returned in responses). Includes full payment term details in addition to id/key.
Reason for customer deactivation:
NOT_PAYING_INVOICE: Customer is not paying invoicesACQUIRED: Customer was acquired by another companyDUPLICATE: Duplicate customer recordNOT_IN_BUSINESS: Customer is no longer in businessOTHER: Other reason (see deactivationNotes for details)
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.
Physical address/location details (nested, without id).
This is an embedded object representing a Location record. The id is managed internally and not exposed in the API.
Physical address/location details (nested, without id).
This is an embedded object representing a Location record. The id is managed internally and not exposed in the API.
Client-defined reference identifier for this customer
Timestamp when customer was created
Timestamp when customer was last updated
Timestamp when customer was soft-deleted (null if active)
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.
{ "object": "CUSTOMER", "id": "550e8400-e29b-41d4-a716-446655440000", "name": "Acme Manufacturing Corp", "friendlyId": "A123456", "status": "NEW", "serviceTier": "TIER_1", "website": "https://acme-manufacturing.com", "phoneNumber": "+1-555-123-4567", "industry": "AGRICULTURE_FORESTRY", "annualRevenue": "_0_TO_500K", "annualSpend": "_0_TO_25K", "spendType": "CONTRACT", "naics": "336411", "ein": "12-3456789", "duns": "123456789", "leadSource": "Referral", "dbaName": "Acme Corp DBA", "numberOfEmployees": "_0_TO_1", "externalId": "EXT-12345", "currency": "USD", "creditLimit": 50000, "creditUsageWarning": 40000, "freeCreditReq": 5000, "defaultMode": "FTL", "defaultMargin": 0.15, "minMargin": 0.1, "maxMargin": 0.25, "defaultInternalNotes": "Contact via email only", "defaultExternalNotes": "Please call 1 hour before delivery", "autoAcceptTender": false, "group": { "id": "550e8400-e29b-41d4-a716-446655440000", "key": "ERP-USER-12345" }, "paymentTerm": { "id": "550e8400-e29b-41d4-a716-446655440000", "key": "ERP-PAYTERM-NET30", "name": "Net 30", "description": "Payment due 30 days from invoice date", "days": 30, "quickPayFee": 0.05, "apOnly": false, "doNotUse": false, "createdAt": "2025-01-15T10:00:00Z", "updatedAt": "2025-01-15T14:30:00Z", "deletedAt": null }, "notes": "Prefers email communication", "deactivationReason": "NOT_PAYING_INVOICE", "deactivationNotes": "string", "deactivationDate": null, "closedAt": null, "closedBy": { "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 }, "closedNotes": "string", "corporateAddress": { "line1": "123 Main St", "line2": "Suite 400", "city": "Chicago", "country": "USA", "market": "CHI", "latitude": "41.8781", "longitude": "-87.6298", "isAirportOrAirbase": false, "isConstructionOrUtilitySite": false, "isSmartyValidated": true, "obeysDst": true, "cityId": null }, "billingAddress": { "line1": "123 Main St", "line2": "Suite 400", "city": "Chicago", "country": "USA", "market": "CHI", "latitude": "41.8781", "longitude": "-87.6298", "isAirportOrAirbase": false, "isConstructionOrUtilitySite": false, "isSmartyValidated": true, "obeysDst": true, "cityId": null }, "qboCustomerId": null, "key": "ERP-CUSTOMER-12345", "contacts": [ { … } ], "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 } }
- Mock serverhttps://docs.mvmnt.io/_mock/apis/openapi/customers/{id}
- Productionhttps://api.mvmnt.io/v1/customers/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
'https://docs.mvmnt.io/_mock/apis/openapi/customers/550e8400-e29b-41d4-a716-446655440000?by=key' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'Request
Search customers using OpenSearch-powered full-text and field-specific search.
This endpoint provides fast, indexed search across customer data with support for:
- Full-text search across multiple fields
- Field-specific filtering with various operators
- Sorting and pagination
- Saved search preferences
Note: Only active (non-deleted) customers are searchable. Soft-deleted records are automatically excluded from all search results.
Response Formats:
flat(default): Returns indexed fields only for faster performancefull: Returns complete customer objects with all relationships
Sort options for the search results
- Mock serverhttps://docs.mvmnt.io/_mock/apis/openapi/customers/search
- Productionhttps://api.mvmnt.io/v1/customers/search
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://docs.mvmnt.io/_mock/apis/openapi/customers/search \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"criteria": {
"id": {
"operator": "EQUALS",
"values": [
"550e8400-e29b-41d4-a716-446655440000"
]
},
"friendlyId": {
"operator": "ONE_OF",
"values": [
"ACTIVE",
"PENDING"
]
},
"name": {
"operator": "INCLUDES",
"values": [
"search term"
]
},
"dbaName": {
"operator": "INCLUDES",
"values": [
"search term"
]
},
"status": {
"operator": "ONE_OF",
"values": [
"ACTIVE",
"PENDING"
]
},
"city": {
"operator": "INCLUDES",
"values": [
"search term"
]
},
"state": {
"operator": "ONE_OF",
"values": [
"ACTIVE",
"PENDING"
]
},
"location": {
"operator": "INCLUDES",
"values": [
"search term"
]
},
"zip": {
"operator": "ONE_OF",
"values": [
"ACTIVE",
"PENDING"
]
},
"country": {
"operator": "ONE_OF",
"values": [
"ACTIVE",
"PENDING"
]
},
"teamId": {
"operator": "EQUALS",
"values": [
"550e8400-e29b-41d4-a716-446655440000"
]
},
"teamName": {
"operator": "INCLUDES",
"values": [
"search term"
]
},
"userIds": {
"operator": "EQUALS",
"values": [
"550e8400-e29b-41d4-a716-446655440000"
]
},
"userNames": {
"operator": "INCLUDES",
"values": [
"search term"
]
},
"accountOwnerId": {
"operator": "EQUALS",
"values": [
"550e8400-e29b-41d4-a716-446655440000"
]
},
"accountOwnerName": {
"operator": "INCLUDES",
"values": [
"search term"
]
},
"operatedById": {
"operator": "EQUALS",
"values": [
"550e8400-e29b-41d4-a716-446655440000"
]
},
"operatedByName": {
"operator": "INCLUDES",
"values": [
"search term"
]
},
"primaryContactName": {
"operator": "INCLUDES",
"values": [
"search term"
]
},
"primaryContactEmail": {
"operator": "INCLUDES",
"values": [
"search term"
]
},
"primaryContactPhone": {
"operator": "INCLUDES",
"values": [
"search term"
]
},
"serviceTier": {
"operator": "ONE_OF",
"values": [
"ACTIVE",
"PENDING"
]
},
"yearsInBusiness": {
"operator": "ONE_OF",
"values": [
"ACTIVE",
"PENDING"
]
},
"numberOfEmployees": {
"operator": "ONE_OF",
"values": [
"ACTIVE",
"PENDING"
]
},
"industry": {
"operator": "ONE_OF",
"values": [
"ACTIVE",
"PENDING"
]
},
"sic": {
"operator": "ONE_OF",
"values": [
"ACTIVE",
"PENDING"
]
},
"naics": {
"operator": "ONE_OF",
"values": [
"ACTIVE",
"PENDING"
]
},
"paymentTermName": {
"operator": "ONE_OF",
"values": [
"ACTIVE",
"PENDING"
]
},
"creditLimit": {
"operator": "GREATER_THAN",
"value": 1000.5
},
"outstandingBalance": {
"operator": "GREATER_THAN",
"value": 1000.5
},
"totalRevenue": {
"operator": "GREATER_THAN",
"value": 1000.5
},
"totalTransportationCost": {
"operator": "GREATER_THAN",
"value": 1000.5
},
"totalGrossProfit": {
"operator": "GREATER_THAN",
"value": 1000.5
},
"ordersCount": {
"operator": "BETWEEN",
"min": 10,
"max": 100
},
"quotesCount": {
"operator": "BETWEEN",
"min": 10,
"max": 100
},
"quotesWon": {
"operator": "BETWEEN",
"min": 10,
"max": 100
},
"quoteWinRate": {
"operator": "GREATER_THAN",
"value": 1000.5
},
"mostRecentOrderCreationAt": {
"operator": "AFTER",
"value": "2025-01-01T00:00:00Z"
},
"nextFollowUp": {
"operator": "BETWEEN",
"min": "2025-01-01",
"max": "2025-01-31"
},
"lastOutreach": {
"operator": "AFTER",
"value": "2025-01-01T00:00:00Z"
},
"quickbooksCustomerId": {
"operator": "ONE_OF",
"values": [
"ACTIVE",
"PENDING"
]
},
"tags": {
"operator": "INCLUDES",
"values": [
"search term"
]
},
"createdAt": {
"operator": "AFTER",
"value": "2025-01-01T00:00:00Z"
},
"updatedAt": {
"operator": "AFTER",
"value": "2025-01-01T00:00:00Z"
}
},
"pagination": {
"pageNumber": 1,
"pageSize": 50
},
"sort": [
{
"field": "createdAt",
"order": "desc"
}
],
"savedSearch": {
"id": "550e8400-e29b-41d4-a716-446655440000"
},
"format": "flat"
}'Successful search results
Search results - either flat rows or full customer objects based on format parameter
Object type identifier for discriminating between flat and full response formats
Names of users associated with this customer (may be hidden in some contexts)
{ "data": [ { … } ], "pagination": { "pageNumber": 1, "pageSize": 50, "totalPages": 25 }, "totalResults": 0 }