Update a tracked shipment note
Download OpenAPIUpdates the shipment note, including for archived shipments. To delete the note, send an empty string { "note": "" } in the request body. Maximum length is 40 characters. Other body fields are rejected.
api_keyapi_key<token>id*stringTracked shipment ID
uuidapplication/json- body
note*stringNote, limited to 40 characters including spaces and line breaks. Length is counted before trimming edges. To delete the note, send an empty string "note": "". Null is not accepted as input.
length <= 40OK
application/json- response
success*booleanWhether processing succeeded. For tracking results, also check status: success=true does not mean data was found.
data*Updated shipment, including stored tracking data and route information. Does not trigger tracking.
status*stringRequest execution status
"OK""WRONG_PARAMS""UNEXPECTED_ERROR""INFO_NOT_FOUND""LINE_IS_UNDER_MAINTENANCE""LINE_NO_RESPONSE""API_KEY_WRONG""API_KEY_LIMIT_REACHED""API_KEY_RATE_LIMIT""LOW_BALANCE""SERVICE_UNAVAILABLE"status_description*|Status description
curl -X PATCH 'https://tracking.timetocargo.com/v2/shipments/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee' \ -H 'Content-Type: application/json' \ -d '{ "note": "Order 123"}'{ "success": true, "data": { "id": "d8976b45-e3e6-4115-b723-57f9b95fc76b", "tracked_item": { "track_number": "MSCU1234567", "track_number_type": "container", "company_id": 60, "data": { "success": true, "data": { "summary": { "origin": { "location": 0, "terminal": 0, "date": "2023-03-25T00:00:00" }, "pol": { "location": 0, "terminal": 0, "date": "2023-03-25T00:00:00" }, "pod": { "location": 0, "terminal": 0, "date": "2023-03-25T00:00:00", "eta_shift_days": null }, "destination": { "location": 0, "terminal": 0, "date": "2023-03-25T00:00:00" }, "company": { "name": "MSC", "full_name": "Mediterranean Shipping Company", "url": "https://www.msc.com/", "scacs": [ "MEDU", "MSCU" ] } }, "locations": [ { "id": 0, "name": "Gothenburg", "state": "Halland", "terminal": "Port of Gothenburg", "country": "Sweden", "lat": 57.70887, "lng": 11.97456 } ], "terminals": [ { "id": 0, "name": "Port of Gothenburg" } ], "containers": [ { "number": "TCKU7858986", "type": "40' High Cube Dry", "events": [ { "location": 0, "terminal": 0, "status": "On Board", "status_code": "CLL", "date": "2023-10-25T11:11:11", "actual": false, "vessel": "Evergreen Teresa", "voyage": "V. 284" } ], "iso_code": "45GP" } ], "route_info": { "route": [ { "path": [ [ 48.698306, 14.042056 ], [ 45.039944, 12.751222 ], [ 43.463278, 12.6745 ], [ 32.566855, 29.927166 ], [ 32.284501, 31.232806 ] ], "type": "sea" } ], "current_position": [ 32.284501, 31.232806 ], "last_updated": "2023-10-25T11:11:11", "course": 247.34 }, "shipment_status": "IN_TRANSIT", "references": { "booking_numbers": [ "2315887441" ], "bill_of_lading_numbers": [ "MEDUH1234567" ] } }, "status": "OK", "status_description": "Information found" }, "updated_at": "2026-04-08T12:08:55.307Z", "checked_at": "2026-04-08T12:08:55.307Z", "company_name": "Mediterranean Shipping Company" }, "start_date": "2026-04-08T12:26:56.940Z", "end_date": "2026-04-12T09:18:49.395Z", "status": "ACTIVE", "note": "Order 4521", "created_at": "2026-04-08T12:08:54.569Z", "track_number": "MSCU1234567" }, "status": "OK", "status_description": "Information found"}Delete or archive tracked shipments DELETE
A non-archived tracking record created no more than 72 hours ago is deleted with a refund of one tracking credit if shipment_status is not IN_TRANSIT, including DELIVERED, UNKNOWN, and STUCK. Records with IN_TRANSIT and non-archived records older than 72 hours are archived without a refund. Records that are already archived are deleted without a refund. Deleted IDs are returned in data.deleted, and archived IDs in data.archived.
Get API key information GET
Returns remaining group credits, the current plan requests_limit and scheduled limits_reset_at in UTC. The date does not guarantee renewal or payment; unavailable details are null.