Carrier management operations
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"Filter criteria (optional - omit to return all locations).
Note: deletedAt automatically defaults to { isNull: true } unless explicitly overridden.
- Mock serverhttps://docs.mvmnt.io/_mock/apis/openapi/locations/filter
- Productionhttps://api.mvmnt.io/v1/locations/filter
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://docs.mvmnt.io/_mock/apis/openapi/locations/filter \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"filter": {
"and": [
{
"customerId": {
"equalTo": "550e8400-e29b-41d4-a716-446655440000"
}
},
{
"type": {
"equalTo": "SHIPPER"
}
}
]
},
"pageSize": 50
}'Filtered locations with pagination
Unique location identifier
Customer (shipper profile) this location belongs to
Client-defined reference identifier for this location
The type of location:
SHIPPER: Pickup location onlyRECEIVER: Delivery location onlyBOTH: Can be used for both pickup and delivery
Whether appointments are required for this location
External notes visible to carriers
Internal notes (not visible to carriers)
Timestamp when location was created
Timestamp when location was last updated
{ "data": [ { … } ], "pageInfo": { "pageSize": 50, "hasNextPage": true, "hasPreviousPage": false, "endCursor": "eyJpZCI6IjU1MGU4NDAwLWUyOWItNDFkNC1hNzE2LTQ0NjY1NTQ0MDAwMCJ9" } }
Customer (shipper profile) this location belongs to (required)
The type of location:
SHIPPER: Pickup location onlyRECEIVER: Delivery location onlyBOTH: Can be used for both pickup and delivery
Whether appointments are required for this location (required)
- Mock serverhttps://docs.mvmnt.io/_mock/apis/openapi/locations
- Productionhttps://api.mvmnt.io/v1/locations
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://docs.mvmnt.io/_mock/apis/openapi/locations \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"customerId": "550e8400-e29b-41d4-a716-446655440000",
"name": "ABC Warehouse - Dallas",
"key": "ERP-LOC-DALLAS-01",
"type": "SHIPPER",
"isAppointmentRequired": true,
"notes": "Call 24 hours ahead for appointment"
}'Location created successfully
Unique location identifier
Customer (shipper profile) this location belongs to
Client-defined reference identifier for this location
The type of location:
SHIPPER: Pickup location onlyRECEIVER: Delivery location onlyBOTH: Can be used for both pickup and delivery
Whether appointments are required for this location
External notes visible to carriers
Internal notes (not visible to carriers)
Timestamp when location was created
Timestamp when location was last updated
{ "object": "LOCATION", "id": "770e8400-e29b-41d4-a716-446655440000", "customerId": "550e8400-e29b-41d4-a716-446655440000", "customer": { "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": { … }, "paymentTerm": { … }, "notes": "Prefers email communication", "deactivationReason": "NOT_PAYING_INVOICE", "deactivationNotes": "string", "deactivationDate": null, "closedAt": null, "closedBy": { … }, "closedNotes": "string", "corporateAddress": { … }, "billingAddress": { … }, "qboCustomerId": null, "key": "ERP-CUSTOMER-12345", "contacts": [ … ], "createdAt": "2025-01-15T10:00:00Z", "updatedAt": "2025-01-15T14:30:00Z", "deletedAt": null, "deletedBy": { … } }, "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 }
- Mock serverhttps://docs.mvmnt.io/_mock/apis/openapi/locations/{id}
- Productionhttps://api.mvmnt.io/v1/locations/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
https://docs.mvmnt.io/_mock/apis/openapi/locations/550e8400-e29b-41d4-a716-446655440000 \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'Location found
Unique location identifier
Customer (shipper profile) this location belongs to
Client-defined reference identifier for this location
The type of location:
SHIPPER: Pickup location onlyRECEIVER: Delivery location onlyBOTH: Can be used for both pickup and delivery
Whether appointments are required for this location
External notes visible to carriers
Internal notes (not visible to carriers)
Timestamp when location was created
Timestamp when location was last updated
{ "object": "LOCATION", "id": "770e8400-e29b-41d4-a716-446655440000", "customerId": "550e8400-e29b-41d4-a716-446655440000", "customer": { "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": { … }, "paymentTerm": { … }, "notes": "Prefers email communication", "deactivationReason": "NOT_PAYING_INVOICE", "deactivationNotes": "string", "deactivationDate": null, "closedAt": null, "closedBy": { … }, "closedNotes": "string", "corporateAddress": { … }, "billingAddress": { … }, "qboCustomerId": null, "key": "ERP-CUSTOMER-12345", "contacts": [ … ], "createdAt": "2025-01-15T10:00:00Z", "updatedAt": "2025-01-15T14:30:00Z", "deletedAt": null, "deletedBy": { … } }, "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 }
Customer (shipper profile) this location belongs to
The type of location:
SHIPPER: Pickup location onlyRECEIVER: Delivery location onlyBOTH: Can be used for both pickup and delivery
External notes visible to carriers
- Mock serverhttps://docs.mvmnt.io/_mock/apis/openapi/locations/{id}
- Productionhttps://api.mvmnt.io/v1/locations/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PATCH \
https://docs.mvmnt.io/_mock/apis/openapi/locations/550e8400-e29b-41d4-a716-446655440000 \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"notes": "Updated appointment requirements"
}'Location updated successfully
Unique location identifier
Customer (shipper profile) this location belongs to
Client-defined reference identifier for this location
The type of location:
SHIPPER: Pickup location onlyRECEIVER: Delivery location onlyBOTH: Can be used for both pickup and delivery
Whether appointments are required for this location
External notes visible to carriers
Internal notes (not visible to carriers)
Timestamp when location was created
Timestamp when location was last updated
{ "object": "LOCATION", "id": "770e8400-e29b-41d4-a716-446655440000", "customerId": "550e8400-e29b-41d4-a716-446655440000", "customer": { "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": { … }, "paymentTerm": { … }, "notes": "Prefers email communication", "deactivationReason": "NOT_PAYING_INVOICE", "deactivationNotes": "string", "deactivationDate": null, "closedAt": null, "closedBy": { … }, "closedNotes": "string", "corporateAddress": { … }, "billingAddress": { … }, "qboCustomerId": null, "key": "ERP-CUSTOMER-12345", "contacts": [ … ], "createdAt": "2025-01-15T10:00:00Z", "updatedAt": "2025-01-15T14:30:00Z", "deletedAt": null, "deletedBy": { … } }, "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 }
- Mock serverhttps://docs.mvmnt.io/_mock/apis/openapi/locations/{id}
- Productionhttps://api.mvmnt.io/v1/locations/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
https://docs.mvmnt.io/_mock/apis/openapi/locations/550e8400-e29b-41d4-a716-446655440000 \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'Request
Search locations using OpenSearch-powered full-text and field-specific search.
This endpoint provides fast, indexed search across location data with support for:
- Full-text search across multiple fields
- Field-specific filtering with various operators
- Geographic search capabilities
- Sorting and pagination
- Saved search preferences
Note: Only active (non-deleted) locations 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 location objects with all relationships
Sort options for the search results
Optional saved search to load preferences from. When provided, the saved search criteria will be loaded and merged with any explicit criteria.
- Mock serverhttps://docs.mvmnt.io/_mock/apis/openapi/locations/search
- Productionhttps://api.mvmnt.io/v1/locations/search
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://docs.mvmnt.io/_mock/apis/openapi/locations/search \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"criteria": {
"id": {
"operator": "EQUALS",
"values": [
"550e8400-e29b-41d4-a716-446655440000"
]
},
"customerId": {
"operator": "EQUALS",
"values": [
"550e8400-e29b-41d4-a716-446655440000"
]
},
"customerName": {
"operator": "INCLUDES",
"values": [
"search term"
]
},
"customerFriendlyId": {
"operator": "ONE_OF",
"values": [
"ACTIVE",
"PENDING"
]
},
"type": {
"operator": "ONE_OF",
"values": [
"ACTIVE",
"PENDING"
]
},
"name": {
"operator": "INCLUDES",
"values": [
"search term"
]
},
"externalId": {
"operator": "ONE_OF",
"values": [
"ACTIVE",
"PENDING"
]
},
"line1": {
"operator": "INCLUDES",
"values": [
"search term"
]
},
"line2": {
"operator": "INCLUDES",
"values": [
"search term"
]
},
"city": {
"operator": "INCLUDES",
"values": [
"search term"
]
},
"state": {
"operator": "ONE_OF",
"values": [
"ACTIVE",
"PENDING"
]
},
"postalCode": {
"operator": "ONE_OF",
"values": [
"ACTIVE",
"PENDING"
]
},
"country": {
"operator": "ONE_OF",
"values": [
"ACTIVE",
"PENDING"
]
},
"market": {
"operator": "ONE_OF",
"values": [
"ACTIVE",
"PENDING"
]
},
"zone": {
"operator": "ONE_OF",
"values": [
"ACTIVE",
"PENDING"
]
},
"phoneNumber": {
"operator": "INCLUDES",
"values": [
"search term"
]
},
"appointmentRequired": {
"operator": "TRUE"
},
"stopsCount": {
"operator": "BETWEEN",
"min": 10,
"max": 100
},
"createdAt": {
"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"
}'{ "data": [ { … } ], "pagination": { "pageNumber": 1, "pageSize": 50, "totalPages": 25 }, "totalResults": 0 }