Get Consignment by Pending Consignment ID
machship_get_consignment_by_pending_idRetrieve consignment details using a pending consignment ID that has been linked to a consignment, and confirm whether the resulting shipment record exists.
Instructions
Get consignment details (if it exists) using a pending consignment ID that has been transformed (linked) into a consignment.
Args:
id (number): Pending consignment ID
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": {
"id": "<id>"
},
"name": "machship_get_consignment_by_pending_id"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Pending consignment ID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| errors | No | Validation errors returned by Machship, if any | |
| object | No | Response payload from the Machship API |