> For clean Markdown of any page, append .md to the page URL. > For a complete documentation index, see https://api.leanmile.com/otp-cc-flow/2-tracking/llms.txt. > For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://api.leanmile.com/_mcp/server. # Overview Lists all new tracking events since last query, or starting from first parcel event time at first query. Location code is arbitrary and depends on destination country. eventCode column mostly should contain a computed value, which is converted from courier event messages to be unified acress couriers.\ We are constantly monitoring and updating our algorithm responsible for the conversion to improve tracking data quality.\ We might send an updated information about an event (including changes in eventCode), **you should use eventID column to check update existing events on your system.** Most used event codes are described here:
Event CodeEvent Description
**PARCEL_REGISTRATION****Parcel registration on platform**
FIRST_MILE_SCANFirst-mile operations scan
**RECEIVE_ITEM_AT_TERMINAL****Receive item at processing hub (Inb). Transit stopclock start event**
**ITEM_DEPARTED_FROM_TERMINAL****Item departed from terminal (Otb) - postal eq insert item into bag. Terminal handling completed.**
SEND_RECEPTACLE_ABROADSend item abroad (EDI-received)
ON_TRANSPORT_TO_DEST_COUNTRYOn transportation to destination country
RECEIVE_BAG_AT_DEST_DISTR_HUBBag arrived at destination country, items not scanned. Airport scan if available
RECEIVE_ITEM_EDI_AT_DEST_DISTR_HUBItem EDI scanned at destination country. First physical event from carrier. Stopclock end for unregistered mail.
STOP_ITEM_IMPORT_AT_DESTStop item import (customs)
RECEIVE_ITEM_AT_DEST_DISTR_HUBItem received and scanned at destination distribution hub.
HANDOVER_ITEM_TO_DELIVERY_AGENTHandover to delivery agent at destination
**SEND_ITEM_TO_DEST_CUSTOMS****Send item for customs clearance at destination. Customs clearance stopclock start.**
**RECORD_ITEM_DEST_CUSTOMS_INFO****Record item for info for clearance at customs.**
**RETURN_ITEM_DEST_FROM_CUSTOMS****Receive item resolution from customs. Customs clearance stopclock end.**
HOLD_ITEM_AT_DEST_DISTRHold item at destination distribution hub
RECEIVE_ITEM_AT_DEST_DELIVERY_OFFICEReceive item at destination delivery office
RECEIVE_ITEM_AT_DEST_SORTING_CENTREReceive item at destination sorting center
SEND_ITEM_TO_DEST_DOMESTIC_LOCATIONSend item for domestic location
SEND_ITEM_OUT_DEST_FOR_PHYSICAL_DELIVERYSend item for domestic distribution
RECEIVE_ITEM_AT_DEST_COLLECTION_POINT_FOR_PICK_UPItem ready for pickup at pickup point
UNSUCCESSFUL_ITEM_DELIVERY_ATTEMPTDelivery attempt
INCORRECT_ADDRESSIncorrect address
ADDRESS_CORRECTIONAddress correction performed
ZIP_CODE_CORRECTIONZip code correction perfromed
DELIVEREDDelivered
RETURN_BY_DESTINATION_COUNTRYReturn by destination country
RETURN_TO_SENDING_COUNTRYReturn by sending country
PARCEL_RESENDResend parcel for delivery
WAITING_FOR_PAYMENTWaiting for payment
RETURNED_TO_SENDERReturned to sender
RETURNEDReturned
RETURNINGReturning
PARCEL_DESTROYED_AT_HUBParcel destoryed at distrbution hub
DELIVERY_CANCELLEDDelivery cancelled
TRANSIT_CANCELLEDTransit cancelled
## API Docs - [1. Get events for specific parcel](https://api.leanmile.com/otp-cc-flow/2-tracking/1-get-events-for-specific-parcel.md): 2tracking ## OpenAPI Specification - [OpenAPI JSON](https://api.leanmile.com/openapi.json): raw OpenAPI 3.1 specification for this API, JSON format - [OpenAPI YAML](https://api.leanmile.com/openapi.yaml): raw OpenAPI 3.1 specification for this API, YAML format