Get Completed Consignments
machship_get_completed_consignmentsRetrieve completed (delivered) consignments for a company within an ISO date range, optionally including child companies, to audit deliveries or reconcile freight shipments.
Instructions
Returns completed (delivered) consignments within a date range (max 2000 results).
Args:
companyId (number): Company ID
startDate (string): Start date (ISO 8601)
endDate (string): End date (ISO 8601)
includeChildCompanies (boolean, optional): Include sub-companies
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"companyId": "<companyId>",
"startDate": "<startDate>",
"endDate": "<endDate>"
},
"name": "machship_get_completed_consignments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endDate | Yes | End date (ISO 8601) | |
| companyId | Yes | Company ID | |
| startDate | Yes | Start date (ISO 8601) | |
| includeChildCompanies | No | Include consignments from child companies |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| errors | No | Validation errors returned by Machship, if any | |
| object | No | Response payload from the Machship API |