Carrier management operations
- Delete a service
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.
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.
- Productionhttps://api.mvmnt.io/v1/services/filter
- Demo (non-production)https://api.demo.mvmnt.io/v1/services/filter
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://api.mvmnt.io/v1/services/filter \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"filter": {
"shipmentId": {
"equalTo": "550e8400-e29b-41d4-a716-446655440000"
}
}
}'Services matching filter criteria
Enhanced reference to a vendor profile. Includes full vendor details in addition to id/key.
Current status of the service.
Active states:
ACTIVE: Service is active/in progress
Billing states (AP):
AWAITING_INVOICE: Waiting for vendor invoiceINVOICE_IN_REVIEW: Invoice received, under reviewAPPROVED_TO_PAY: Approved for paymentPAID: Paid to vendor
Final states:
CANCELED: Service canceled
{ "data": [ { … } ], "pagination": { "pageSize": 50, "hasNextPage": true, "hasPreviousPage": false, "endCursor": "eyJpZCI6IjU1MGU4NDAwLWUyOWItNDFkNC1hNzE2LTQ0NjY1NTQ0MDAwMCJ9" } }
- Productionhttps://api.mvmnt.io/v1/services
- Demo (non-production)https://api.demo.mvmnt.io/v1/services
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://api.mvmnt.io/v1/services \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"shipmentId": "550e8400-e29b-41d4-a716-446655440000",
"service": {
"vendor": {
"id": "660e8400-e29b-41d4-a716-446655440001"
},
"description": "Port drayage from Long Beach",
"charges": [
{
"chargeCode": {
"key": "DRAY"
},
"amount": 450
}
],
"scheduledDate": "2025-01-20"
}
}'Service created successfully
Enhanced reference to a vendor profile. Includes full vendor details in addition to id/key.
Current status of the service.
Active states:
ACTIVE: Service is active/in progress
Billing states (AP):
AWAITING_INVOICE: Waiting for vendor invoiceINVOICE_IN_REVIEW: Invoice received, under reviewAPPROVED_TO_PAY: Approved for paymentPAID: Paid to vendor
Final states:
CANCELED: Service canceled
{ "id": "550e8400-e29b-41d4-a716-446655440000", "key": "SVC-12345", "shipmentId": "47efd5a2-af91-4417-950a-7f546cd1b5cf", "shipmentKey": "string", "vendor": { "id": "550e8400-e29b-41d4-a716-446655440000", "key": "ERP-VENDOR-ABC-001", "friendlyId": "V123456", "name": "ABC Warehouse Services", "email": "billing@abcwarehouse.com", "phone": "+1-555-123-4567", "status": "ACTIVE", "currency": "USD", "createdAt": "2025-01-15T10:00:00Z", "updatedAt": "2025-01-15T14:30:00Z" }, "vendorContact": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "phone": "string", "email": "string" }, "status": "ACTIVE", "description": "string", "charges": [ { … } ], "totalCost": 0, "scheduledDate": "2019-08-24", "completedDate": "2019-08-24", "referenceNumber": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z" }
- Productionhttps://api.mvmnt.io/v1/services/{id}
- Demo (non-production)https://api.demo.mvmnt.io/v1/services/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://api.mvmnt.io/v1/services/550e8400-e29b-41d4-a716-446655440000?by=key' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'Service retrieved successfully
Enhanced reference to a vendor profile. Includes full vendor details in addition to id/key.
Current status of the service.
Active states:
ACTIVE: Service is active/in progress
Billing states (AP):
AWAITING_INVOICE: Waiting for vendor invoiceINVOICE_IN_REVIEW: Invoice received, under reviewAPPROVED_TO_PAY: Approved for paymentPAID: Paid to vendor
Final states:
CANCELED: Service canceled
{ "id": "550e8400-e29b-41d4-a716-446655440000", "key": "SVC-12345", "shipmentId": "47efd5a2-af91-4417-950a-7f546cd1b5cf", "shipmentKey": "string", "vendor": { "id": "550e8400-e29b-41d4-a716-446655440000", "key": "ERP-VENDOR-ABC-001", "friendlyId": "V123456", "name": "ABC Warehouse Services", "email": "billing@abcwarehouse.com", "phone": "+1-555-123-4567", "status": "ACTIVE", "currency": "USD", "createdAt": "2025-01-15T10:00:00Z", "updatedAt": "2025-01-15T14:30:00Z" }, "vendorContact": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "phone": "string", "email": "string" }, "status": "ACTIVE", "description": "string", "charges": [ { … } ], "totalCost": 0, "scheduledDate": "2019-08-24", "completedDate": "2019-08-24", "referenceNumber": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z" }
Reference to another resource by either ID or client key (used in create/update requests)
- Productionhttps://api.mvmnt.io/v1/services/{id}
- Demo (non-production)https://api.demo.mvmnt.io/v1/services/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PATCH \
'https://api.mvmnt.io/v1/services/550e8400-e29b-41d4-a716-446655440000?by=key' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"scheduledDate": "2025-01-22"
}'Service updated successfully
Enhanced reference to a vendor profile. Includes full vendor details in addition to id/key.
Current status of the service.
Active states:
ACTIVE: Service is active/in progress
Billing states (AP):
AWAITING_INVOICE: Waiting for vendor invoiceINVOICE_IN_REVIEW: Invoice received, under reviewAPPROVED_TO_PAY: Approved for paymentPAID: Paid to vendor
Final states:
CANCELED: Service canceled
{ "id": "550e8400-e29b-41d4-a716-446655440000", "key": "SVC-12345", "shipmentId": "47efd5a2-af91-4417-950a-7f546cd1b5cf", "shipmentKey": "string", "vendor": { "id": "550e8400-e29b-41d4-a716-446655440000", "key": "ERP-VENDOR-ABC-001", "friendlyId": "V123456", "name": "ABC Warehouse Services", "email": "billing@abcwarehouse.com", "phone": "+1-555-123-4567", "status": "ACTIVE", "currency": "USD", "createdAt": "2025-01-15T10:00:00Z", "updatedAt": "2025-01-15T14:30:00Z" }, "vendorContact": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "phone": "string", "email": "string" }, "status": "ACTIVE", "description": "string", "charges": [ { … } ], "totalCost": 0, "scheduledDate": "2019-08-24", "completedDate": "2019-08-24", "referenceNumber": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z" }
- Productionhttps://api.mvmnt.io/v1/services/{id}
- Demo (non-production)https://api.demo.mvmnt.io/v1/services/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
'https://api.mvmnt.io/v1/services/550e8400-e29b-41d4-a716-446655440000?by=key' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'