Correct a shipment's details
update_shipmentChanges data: corrects the reference, ERP reference, consignor, delivery place, ETA, ETD, load type, house B/L, forwarder reference, forwarder ETA or warehouse of one shipment, as the person who connected this app, and records each change in the organization's audit log. A value set this way replaces the old one and outranks what documents and tracking say from then on, so use it only when the user asks to correct a field, and say what will change before calling it. Only the arguments you send change; null clears a field (not reference). Dates are days, YYYY-MM-DD. The answer lists changes, each changed field with its old from and new to value, so you can tell the user what was replaced; a value the shipment already had is not a change. Safe to repeat. The container, B/L or AWB number and the transport type cannot be changed with this tool: they release the carrier registration and notify the shipment's subscribers, so use change_transport_reference for them. Get the shipment_id from search_shipments.
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": {
"shipment_id": "<shipment_id>"
},
"name": "update_shipment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| eta | No | Estimated arrival, a day as YYYY-MM-DD on the destination port's clock. | |
| etd | No | Estimated departure, a day as YYYY-MM-DD on the origin port's clock. | |
| house_bl | No | The forwarder's house bill of lading number. | |
| consignor | No | The consignor (shipper) as named on the shipment. | |
| load_type | No | "fcl" for a full container load, "lcl" for less than a container. | |
| reference | No | Trackberry's own reference for the shipment. Unique in the organization; cannot be cleared. | |
| shipment_id | Yes | A shipment id such as "shp_123", as returned by search_shipments. | |
| warehouse_id | No | The warehouse the shipment is delivered to: an id such as "whs_3", as a shipment's `warehouse` shows it. `null` goes back to the organization's default. | |
| erp_reference | No | The reference in the user's ERP or purchasing system. | |
| forwarder_eta | No | The forwarder's estimated arrival, YYYY-MM-DD. | |
| delivery_place | No | Where the goods are delivered to, as an address or a place, e.g. "Industriestr. 5, 40213 Düsseldorf, Germany". Its postal code, city and country are read from it. | |
| forwarder_reference | No | The forwarder's own reference for the shipment. |