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"- Mock serverhttps://docs.mvmnt.io/_mock/apis/openapi/credit-memos/filter
- Productionhttps://api.mvmnt.io/v1/credit-memos/filter
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://docs.mvmnt.io/_mock/apis/openapi/credit-memos/filter \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"filter": {
"customerId": {
"equalTo": "550e8400-e29b-41d4-a716-446655440000"
}
}
}'Credit memos matching filter criteria
Enhanced reference to a customer resource (returned in responses). Includes full customer details in addition to id/key.
Note: Does NOT include nested references (paymentTerm, contacts, etc.) to prevent recursion. Maximum nesting depth: 1 level.
Current status of the credit memo (derived from remaining balance).
OPEN: No applications, full balance availablePARTIALLY_APPLIED: Some amount applied, balance remainsAPPLIED: Fully applied to invoicesVOIDED: Credit memo cancelled
Payment that created this credit (if from overpayment)
{ "data": [ { … } ], "pagination": { "pageSize": 50, "hasNextPage": true, "hasPreviousPage": false, "endCursor": "eyJpZCI6IjU1MGU4NDAwLWUyOWItNDFkNC1hNzE2LTQ0NjY1NTQ0MDAwMCJ9" } }
- Mock serverhttps://docs.mvmnt.io/_mock/apis/openapi/credit-memos
- Productionhttps://api.mvmnt.io/v1/credit-memos
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://docs.mvmnt.io/_mock/apis/openapi/credit-memos \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"customerId": "550e8400-e29b-41d4-a716-446655440000",
"amount": 500,
"currency": "USD",
"memoDate": "2025-01-15",
"reference": "CM-00001",
"notes": "Refund for damaged goods"
}'Credit memo created successfully
Enhanced reference to a customer resource (returned in responses). Includes full customer details in addition to id/key.
Note: Does NOT include nested references (paymentTerm, contacts, etc.) to prevent recursion. Maximum nesting depth: 1 level.
Current status of the credit memo (derived from remaining balance).
OPEN: No applications, full balance availablePARTIALLY_APPLIED: Some amount applied, balance remainsAPPLIED: Fully applied to invoicesVOIDED: Credit memo cancelled
{ "id": "550e8400-e29b-41d4-a716-446655440000", "key": "string", "reference": "CM-00001", "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 }, "amount": 0, "appliedAmount": 0, "remainingBalance": 0, "currency": "USD", "status": "OPEN", "memoDate": "2019-08-24", "notes": "string", "sourcePaymentGroupId": "88f8a750-5184-4109-bb35-e2e1ef4ac566", "sourcePaymentKey": "string", "applications": [ { … } ], "qboId": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "voidedAt": "2019-08-24T14:15:22Z", "voidReason": "string", "createdBy": { "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/credit-memos/{id}
- Productionhttps://api.mvmnt.io/v1/credit-memos/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.mvmnt.io/_mock/apis/openapi/credit-memos/550e8400-e29b-41d4-a716-446655440000?by=key' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'Credit memo retrieved successfully
Enhanced reference to a customer resource (returned in responses). Includes full customer details in addition to id/key.
Note: Does NOT include nested references (paymentTerm, contacts, etc.) to prevent recursion. Maximum nesting depth: 1 level.
Current status of the credit memo (derived from remaining balance).
OPEN: No applications, full balance availablePARTIALLY_APPLIED: Some amount applied, balance remainsAPPLIED: Fully applied to invoicesVOIDED: Credit memo cancelled
{ "id": "550e8400-e29b-41d4-a716-446655440000", "key": "string", "reference": "CM-00001", "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 }, "amount": 0, "appliedAmount": 0, "remainingBalance": 0, "currency": "USD", "status": "OPEN", "memoDate": "2019-08-24", "notes": "string", "sourcePaymentGroupId": "88f8a750-5184-4109-bb35-e2e1ef4ac566", "sourcePaymentKey": "string", "applications": [ { … } ], "qboId": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "voidedAt": "2019-08-24T14:15:22Z", "voidReason": "string", "createdBy": { "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/credit-memos/{id}
- Productionhttps://api.mvmnt.io/v1/credit-memos/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PATCH \
'https://docs.mvmnt.io/_mock/apis/openapi/credit-memos/550e8400-e29b-41d4-a716-446655440000?by=key' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"reference": "CM-00001-REV"
}'Credit memo updated successfully
Enhanced reference to a customer resource (returned in responses). Includes full customer details in addition to id/key.
Note: Does NOT include nested references (paymentTerm, contacts, etc.) to prevent recursion. Maximum nesting depth: 1 level.
Current status of the credit memo (derived from remaining balance).
OPEN: No applications, full balance availablePARTIALLY_APPLIED: Some amount applied, balance remainsAPPLIED: Fully applied to invoicesVOIDED: Credit memo cancelled
{ "id": "550e8400-e29b-41d4-a716-446655440000", "key": "string", "reference": "CM-00001", "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 }, "amount": 0, "appliedAmount": 0, "remainingBalance": 0, "currency": "USD", "status": "OPEN", "memoDate": "2019-08-24", "notes": "string", "sourcePaymentGroupId": "88f8a750-5184-4109-bb35-e2e1ef4ac566", "sourcePaymentKey": "string", "applications": [ { … } ], "qboId": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "voidedAt": "2019-08-24T14:15:22Z", "voidReason": "string", "createdBy": { "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/credit-memos/{id}/void
- Productionhttps://api.mvmnt.io/v1/credit-memos/{id}/void
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://docs.mvmnt.io/_mock/apis/openapi/credit-memos/550e8400-e29b-41d4-a716-446655440000/void?by=key' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"reason": "Credit issued in error"
}'Credit memo voided successfully
Enhanced reference to a customer resource (returned in responses). Includes full customer details in addition to id/key.
Note: Does NOT include nested references (paymentTerm, contacts, etc.) to prevent recursion. Maximum nesting depth: 1 level.
Current status of the credit memo (derived from remaining balance).
OPEN: No applications, full balance availablePARTIALLY_APPLIED: Some amount applied, balance remainsAPPLIED: Fully applied to invoicesVOIDED: Credit memo cancelled
{ "id": "550e8400-e29b-41d4-a716-446655440000", "key": "string", "reference": "CM-00001", "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 }, "amount": 0, "appliedAmount": 0, "remainingBalance": 0, "currency": "USD", "status": "OPEN", "memoDate": "2019-08-24", "notes": "string", "sourcePaymentGroupId": "88f8a750-5184-4109-bb35-e2e1ef4ac566", "sourcePaymentKey": "string", "applications": [ { … } ], "qboId": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "voidedAt": "2019-08-24T14:15:22Z", "voidReason": "string", "createdBy": { "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 } }
Request
Apply credit memo amount to an invoice.
- Creates credit application record
- Reduces credit memo remaining balance
- Reduces invoice open balance
- Updates order status if invoice is fully paid
- Amount must not exceed remaining balance
- Invoice must belong to same customer
- Invoice must have outstanding balance
- Currency must match
- Mock serverhttps://docs.mvmnt.io/_mock/apis/openapi/credit-memos/{id}/apply
- Productionhttps://api.mvmnt.io/v1/credit-memos/{id}/apply
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://docs.mvmnt.io/_mock/apis/openapi/credit-memos/550e8400-e29b-41d4-a716-446655440000/apply?by=key' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"invoiceId": "660e8400-e29b-41d4-a716-446655440001",
"amount": 200
}'Credit applied successfully
Enhanced reference to a customer resource (returned in responses). Includes full customer details in addition to id/key.
Note: Does NOT include nested references (paymentTerm, contacts, etc.) to prevent recursion. Maximum nesting depth: 1 level.
Current status of the credit memo (derived from remaining balance).
OPEN: No applications, full balance availablePARTIALLY_APPLIED: Some amount applied, balance remainsAPPLIED: Fully applied to invoicesVOIDED: Credit memo cancelled
Payment that created this credit (if from overpayment)
{ "application": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "invoiceId": "4f163819-178d-470c-a246-d6768476a6ec", "invoiceFriendlyId": "string", "paymentId": "472e651e-5a1e-424d-8098-23858bf03ad7", "paymentKey": "string", "amount": 0, "appliedAt": "2019-08-24T14:15:22Z" }, "creditMemo": { "id": "550e8400-e29b-41d4-a716-446655440000", "key": "string", "reference": "CM-00001", "customer": { … }, "amount": 0, "appliedAmount": 0, "remainingBalance": 0, "currency": "USD", "status": "OPEN", "memoDate": "2019-08-24", "notes": "string", "sourcePaymentGroupId": "88f8a750-5184-4109-bb35-e2e1ef4ac566", "sourcePaymentKey": "string", "applications": [ … ], "qboId": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "voidedAt": "2019-08-24T14:15:22Z", "voidReason": "string", "createdBy": { … } } }
- Mock serverhttps://docs.mvmnt.io/_mock/apis/openapi/credit-memos/{id}/applications
- Productionhttps://api.mvmnt.io/v1/credit-memos/{id}/applications
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.mvmnt.io/_mock/apis/openapi/credit-memos/550e8400-e29b-41d4-a716-446655440000/applications?by=key' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'{ "data": [ { … } ], "totalApplied": 0, "remainingBalance": 0 }
- Mock serverhttps://docs.mvmnt.io/_mock/apis/openapi/credit-memos/{creditMemoId}/applications/{applicationId}
- Productionhttps://api.mvmnt.io/v1/credit-memos/{creditMemoId}/applications/{applicationId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
'https://docs.mvmnt.io/_mock/apis/openapi/credit-memos/{creditMemoId}/applications/{applicationId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'Credit unapplied successfully
Enhanced reference to a customer resource (returned in responses). Includes full customer details in addition to id/key.
Note: Does NOT include nested references (paymentTerm, contacts, etc.) to prevent recursion. Maximum nesting depth: 1 level.
Current status of the credit memo (derived from remaining balance).
OPEN: No applications, full balance availablePARTIALLY_APPLIED: Some amount applied, balance remainsAPPLIED: Fully applied to invoicesVOIDED: Credit memo cancelled
{ "id": "550e8400-e29b-41d4-a716-446655440000", "key": "string", "reference": "CM-00001", "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 }, "amount": 0, "appliedAmount": 0, "remainingBalance": 0, "currency": "USD", "status": "OPEN", "memoDate": "2019-08-24", "notes": "string", "sourcePaymentGroupId": "88f8a750-5184-4109-bb35-e2e1ef4ac566", "sourcePaymentKey": "string", "applications": [ { … } ], "qboId": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "voidedAt": "2019-08-24T14:15:22Z", "voidReason": "string", "createdBy": { "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 } }