Carrier management operations
- Update 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.
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/services/filter
- Productionhttps://api.mvmnt.io/v1/services/filter
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://docs.mvmnt.io/_mock/apis/openapi/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.
Type of service.
DRAYAGE: Port/rail drayageCUSTOMS_CLEARANCE: Customs brokerageWAREHOUSING: Warehouse storageCROSS_DOCK: Cross-dock handlingTRANSLOAD: Transloading serviceFUMIGATION: Cargo fumigationINSPECTION: Cargo inspectionDOCUMENTATION: Documentation handlingINSURANCE: Cargo insuranceCARGO_HANDLING: General cargo handlingOTHER: Other service type
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" } }
Type of service.
DRAYAGE: Port/rail drayageCUSTOMS_CLEARANCE: Customs brokerageWAREHOUSING: Warehouse storageCROSS_DOCK: Cross-dock handlingTRANSLOAD: Transloading serviceFUMIGATION: Cargo fumigationINSPECTION: Cargo inspectionDOCUMENTATION: Documentation handlingINSURANCE: Cargo insuranceCARGO_HANDLING: General cargo handlingOTHER: Other service type
- Mock serverhttps://docs.mvmnt.io/_mock/apis/openapi/services
- Productionhttps://api.mvmnt.io/v1/services
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://docs.mvmnt.io/_mock/apis/openapi/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"
},
"serviceType": "DRAYAGE",
"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.
Type of service.
DRAYAGE: Port/rail drayageCUSTOMS_CLEARANCE: Customs brokerageWAREHOUSING: Warehouse storageCROSS_DOCK: Cross-dock handlingTRANSLOAD: Transloading serviceFUMIGATION: Cargo fumigationINSPECTION: Cargo inspectionDOCUMENTATION: Documentation handlingINSURANCE: Cargo insuranceCARGO_HANDLING: General cargo handlingOTHER: Other service type
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" }, "serviceType": "DRAYAGE", "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" }
- Mock serverhttps://docs.mvmnt.io/_mock/apis/openapi/services/{id}
- Productionhttps://api.mvmnt.io/v1/services/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.mvmnt.io/_mock/apis/openapi/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.
Type of service.
DRAYAGE: Port/rail drayageCUSTOMS_CLEARANCE: Customs brokerageWAREHOUSING: Warehouse storageCROSS_DOCK: Cross-dock handlingTRANSLOAD: Transloading serviceFUMIGATION: Cargo fumigationINSPECTION: Cargo inspectionDOCUMENTATION: Documentation handlingINSURANCE: Cargo insuranceCARGO_HANDLING: General cargo handlingOTHER: Other service type
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" }, "serviceType": "DRAYAGE", "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)
Type of service.
DRAYAGE: Port/rail drayageCUSTOMS_CLEARANCE: Customs brokerageWAREHOUSING: Warehouse storageCROSS_DOCK: Cross-dock handlingTRANSLOAD: Transloading serviceFUMIGATION: Cargo fumigationINSPECTION: Cargo inspectionDOCUMENTATION: Documentation handlingINSURANCE: Cargo insuranceCARGO_HANDLING: General cargo handlingOTHER: Other service type
- Mock serverhttps://docs.mvmnt.io/_mock/apis/openapi/services/{id}
- Productionhttps://api.mvmnt.io/v1/services/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PATCH \
'https://docs.mvmnt.io/_mock/apis/openapi/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.
Type of service.
DRAYAGE: Port/rail drayageCUSTOMS_CLEARANCE: Customs brokerageWAREHOUSING: Warehouse storageCROSS_DOCK: Cross-dock handlingTRANSLOAD: Transloading serviceFUMIGATION: Cargo fumigationINSPECTION: Cargo inspectionDOCUMENTATION: Documentation handlingINSURANCE: Cargo insuranceCARGO_HANDLING: General cargo handlingOTHER: Other service type
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" }, "serviceType": "DRAYAGE", "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" }
- Mock serverhttps://docs.mvmnt.io/_mock/apis/openapi/services/{id}
- Productionhttps://api.mvmnt.io/v1/services/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
'https://docs.mvmnt.io/_mock/apis/openapi/services/550e8400-e29b-41d4-a716-446655440000?by=key' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'