Tracking status mapping
There’s no 1:1 mapping
Section titled “There’s no 1:1 mapping”Parcel Monkey harmonised every courier event into one of 83 statuses in the form PARENT_STATUS__SUB_STATUS, including detailed exceptions such as failed deliveries, customs holds and returns.
Parcel2Go normalises tracking into a small set of stages for the whole delivery. They cover the normal journey from collection to delivery. Exceptions don’t have their own stages: they show up as IsInError on the tracking result, plus the courier’s own StatusCode and Description on each event.
If your code branches on Parcel Monkey statuses, review each branch against the table below.
Parcel2Go stages
Section titled “Parcel2Go stages”| Stage | Meaning |
|---|---|
DroppedOff |
Drop-off services only. The drop shop has scanned the parcel in. |
Collected |
Collected from the collection point (home or drop shop). |
InTransit |
In transit from the collection point to the depot. |
AtDepot |
Scanned in at the depot. |
DeliveryScheduled |
Scheduled for delivery from the depot. |
Delivered |
Delivered. |
The tracking endpoint’s Stage can also be null (no stage yet) or MajorError. Webhooks send the six stages above as TrackingStage. Stage descriptions are from the Parcel2Go webhooks guide.
Handling exceptions
Section titled “Handling exceptions”For anything outside the normal journey:
- Check
IsInErroron the tracking result. - Show the courier’s
Descriptionfrom the latest event inResults, rather than mapping it to your own text. - If you need finer rules (for example “held in customs”), build them on the courier’s
StatusCodefor the couriers you use. These codes differ by courier.
Full mapping
Section titled “Full mapping”“Nearest” means the closest Parcel2Go stage for a delivery at that point. It isn’t an exact match, so don’t use it for strict logic such as “attempted delivery”.
Of 83 Parcel Monkey statuses, 13 map directly, 13 map to the nearest stage, and 57 have no equivalent stage.
| Parcel Monkey status | Parcel2Go Stage | Match | Notes |
|---|---|---|---|
IGNORE | No equivalent | Informational events. P2G returns all courier events in Results; filter them yourself if needed. | |
ARRIVED_AT_FACILITY__HAS_LOCATION | AtDepot | Nearest | |
ARRIVED_AT_FACILITY__NO_LOCATION | AtDepot | Nearest | |
AT_ARRIVAL_HUB | InTransit | Nearest | No separate hub stages. |
AT_DEPARTURE_HUB | InTransit | Nearest | No separate hub stages. |
CANCELLED | No equivalent | No cancelled stage. | |
CLEARED_EXPORT_CUSTOMS | InTransit | Nearest | No customs stages; the courier event is in Results. |
CLEARED_IMPORT_CUSTOMS | InTransit | Nearest | No customs stages; the courier event is in Results. |
COLLECTED_OR_DROPPED_OFF__COLLECTED | Collected | Direct | Collected from home or drop shop. |
COLLECTED_OR_DROPPED_OFF__COLLECTED_FROM_DROP_OFF_LOCATION | Collected | Direct | |
COLLECTED_OR_DROPPED_OFF__DROPPED_OFF | DroppedOff | Direct | Drop-off services only. |
COLLECTED_OR_DROPPED_OFF__OTHER | Collected | Direct | |
COLLECTION_OR_DROP_OFF_REJECTED__INAPPROPRIATE_PACKAGING | No equivalent | No equivalent stage. Check IsInError and the courier StatusCode and Description. | |
COLLECTION_OR_DROP_OFF_REJECTED__NOT_AS_DESCRIBED | No equivalent | ||
COLLECTION_OR_DROP_OFF_REJECTED__OTHER | No equivalent | ||
CUSTOMER_COLLECTED_FROM_AGENT | Delivered | Nearest | |
DELIVERED__COLLECTED_BY_RECIPIENT | Delivered | Direct | Sub-statuses (signed for, safe place, neighbour, locker) are not normalised; read the courier Description, and SignatureImageUrl where present. |
DELIVERED__LEFT_IN_UNSPECIFIED_SAFE_PLACE | Delivered | Direct | |
DELIVERED__LEFT_WITH_UNSPECIFIED_NEIGHBOUR | Delivered | Direct | |
DELIVERED__OTHER | Delivered | Direct | |
DELIVERED__PLACED_IN_UNSPECIFIED_LOCKER | Delivered | Direct | |
DELIVERED__PROOF_OF_DELIVERY_NOT_REQUIRED | Delivered | Direct | |
DELIVERED__SIGNED_FOR_BY_RECIPIENT | Delivered | Direct | |
DELIVERY_ATTEMPT_FAILED__DRIVER_CANNOT_FIND_ADDRESS | No equivalent | No equivalent stage. Check IsInError and the courier StatusCode and Description. | |
DELIVERY_ATTEMPT_FAILED__DRIVER_OUT_OF_TIME | No equivalent | ||
DELIVERY_ATTEMPT_FAILED__OTHER | No equivalent | ||
DELIVERY_ATTEMPT_FAILED__RECIPIENT_HAS_MOVED | No equivalent | ||
DELIVERY_ATTEMPT_FAILED__RECIPIENT_NOT_IN | No equivalent | ||
DELIVERY_ATTEMPT_FAILED__RECIPIENT_REFUSED_SHIPMENT | No equivalent | ||
DELIVERY_ATTEMPT_FAILED__RECIPIENT_REFUSED_TO_PAY_CUSTOMS_DUTY | No equivalent | ||
DELIVERY_IN_PROGRESS | DeliveryScheduled | Nearest | P2G: 'scheduled for delivery from depot'. |
DEPARTED_FROM_FACILITY__HAS_LOCATION | InTransit | Nearest | P2G's InTransit means 'collection point to depot'; later movements may stay at AtDepot. |
DEPARTED_FROM_FACILITY__NO_LOCATION | InTransit | Nearest | |
DISPOSED_OF | No equivalent | No equivalent stage. Check IsInError. | |
DISPOSED_OF__BY_AGENT | No equivalent | ||
DISPOSED_OF__BY_CARRIER | No equivalent | ||
DISPOSED_OF__OTHER | No equivalent | ||
HELD_BY_CARRIER | No equivalent | No equivalent stage. Check IsInError. | |
HELD_BY_EXPORT_CUSTOMS__INSUFFICIENT_CUSTOMS_DOCUMENTATION | No equivalent | No equivalent stage. Check IsInError. | |
HELD_BY_EXPORT_CUSTOMS__OTHER | No equivalent | ||
HELD_BY_EXPORT_CUSTOMS__UNSPECIFIED_ADDRESS_QUERIES | No equivalent | ||
HELD_BY_EXPORT_CUSTOMS__UNSPECIFIED_PROHIBITED_ITEM | No equivalent | ||
HELD_BY_IMPORT_CUSTOMS__INSUFFICIENT_CUSTOMS_DOCUMENTATION | No equivalent | No equivalent stage. Check IsInError. | |
HELD_BY_IMPORT_CUSTOMS__OTHER | No equivalent | ||
HELD_BY_IMPORT_CUSTOMS__UNSPECIFIED_ADDRESS_QUERIES | No equivalent | ||
HELD_BY_IMPORT_CUSTOMS__UNSPECIFIED_PROHIBITED_ITEM | No equivalent | ||
IN_TRANSIT__HAS_LOCATION | InTransit | Direct | |
IN_TRANSIT__NO_LOCATION | InTransit | Direct | |
LOST | No equivalent | No equivalent stage. Check IsInError. | |
MISSED_COLLECTION__DRIVER_CANNOT_FIND_ADDRESS | No equivalent | No equivalent stage. Check IsInError and the courier StatusCode and Description. | |
MISSED_COLLECTION__DRIVER_OUT_OF_TIME | No equivalent | ||
MISSED_COLLECTION__OTHER | No equivalent | ||
MISSED_COLLECTION__SENDER_HAS_MOVED | No equivalent | ||
MISSED_COLLECTION__SENDER_NOT_IN | No equivalent | ||
MISSED_COLLECTION__SHIPMENT_NOT_READY | No equivalent | ||
NO_TRACKING_EVENTS_WITHIN_CUTOFF_ASSUMED_NOT_SHIPPED | No equivalent | P2G does not infer 'not shipped'. If you need this, apply your own cut-off to a Null stage. | |
NO_TRACKING_EVENTS_YET | Null | Nearest | Stage is null and Results is empty until the courier sends events. |
PERMANENTLY_FAILED_TO_GET_TRACKING_EVENTS_FROM_AGENT | No equivalent | ||
PROCESSED_AT_FACILITY__HAS_LOCATION | AtDepot | Nearest | |
PROCESSED_AT_FACILITY__NO_LOCATION | AtDepot | Nearest | |
RETURNED_TO_AGENT__ADDRESS_QUERIES | No equivalent | No equivalent stage. Check IsInError. | |
RETURNED_TO_AGENT__DAMAGED_ITEM | No equivalent | ||
RETURNED_TO_AGENT__INCORRECTLY_PACKAGED | No equivalent | ||
RETURNED_TO_AGENT__INCORRECT_VALUE_OR_PRODUCT_DESCRIPTION | No equivalent | ||
RETURNED_TO_AGENT__NO_CUSTOMS_DOCUMENTATION | No equivalent | ||
RETURNED_TO_AGENT__OTHER | No equivalent | ||
RETURNED_TO_AGENT__OVERSIZED_ITEM | No equivalent | ||
RETURNED_TO_AGENT__PROHIBITED_ITEM | No equivalent | ||
RETURNED_TO_AGENT__UNABLE_TO_LOCATE_PICK_UP_STORE | No equivalent | ||
RETURNED_TO_SENDER | No equivalent | No equivalent stage. Check IsInError. | |
RETURNED_TO_SENDER__DAMAGED_ITEM | No equivalent | ||
RETURNED_TO_SENDER__INCORRECTLY_PACKAGED | No equivalent | ||
RETURNED_TO_SENDER__INCORRECT_VALUE_OR_PRODUCT_DESCRIPTION | No equivalent | ||
RETURNED_TO_SENDER__NO_CUSTOMS_DOCUMENTATION | No equivalent | ||
RETURNED_TO_SENDER__OTHER | No equivalent | ||
RETURNED_TO_SENDER__OVERSIZED_ITEM | No equivalent | ||
RETURNED_TO_SENDER__UNABLE_TO_LOCATE_PICK_UP_STORE | No equivalent | ||
RETURNED_TO_SENDER__UNSPECIFIED_ADDRESS_QUERIES | No equivalent | ||
RETURNED_TO_SENDER__UNSPECIFIED_PROHIBITED_ITEM | No equivalent | ||
UNKNOWN__HAS_LOCATION | No equivalent | Unclassified courier events appear in Results with the courier's own code. | |
UNKNOWN__HAS_MESSAGE | No equivalent | ||
UNKNOWN__HAS_MESSAGE_AND_LOCATION | No equivalent | ||
UNKNOWN__NO_MESSAGE_OR_LOCATION | No equivalent |