How to Detect the First Physical Carrier Scan across Multiple Carriers
To detect the first physical carrier scan across multiple carriers, identify the earliest tracking event that confirms a carrier handled or accepted the parcel—not the date a label was created or tracking data was transmitted. Apply the same event rules to every carrier, retain the original event and timestamp, and distinguish the first scan for the entire shipment from the first scan by each carrier in a handoff.

For a shopper, that distinction explains why a tracking number can exist before a parcel starts moving. For an operations or engineering team, it determines when to mark a shipment as physically inducted, measure the time from label creation to handoff, or investigate orders that have not yet entered a carrier network.
Define the event before looking for it
A tracking feed may contain a mixture of electronic notices, physical scans, estimated dates, and administrative updates. Their order on a timeline does not make them equivalent. An electronic notice generally indicates that shipment information has been supplied; it does not, by itself, establish that someone at the carrier has the parcel. A physical scan should indicate an observed custody or handling event, such as acceptance, pickup confirmed by a scan, or processing at an origin facility.
The practical definition is: the earliest carrier-sourced event for a shipment that provides credible evidence of physical possession or handling. “Carrier-sourced” matters because an order-management system can mark an order shipped without generating a carrier scan. “Credible evidence” matters because status wording and event types vary. A message containing the word “received” might refer to electronic data rather than the package itself.
Decide which of these two outputs you need:
- First physical scan for the shipment: the earliest qualifying event across its documented carrier legs. Use this to investigate when the parcel first entered a carrier network.
- First physical scan per carrier: the earliest qualifying event attributable to each carrier that handled the parcel. Use this to investigate a transfer or measure the time between handoff and the next carrier’s first observed scan.
Do not silently substitute one for the other. If a parcel moves through an origin carrier and a final-mile carrier, the final-mile carrier’s acceptance may be its first scan, but it is not the shipment’s first scan.
Build a status rule that survives carrier differences
Start with an event taxonomy rather than a single keyword search. A useful minimum separates electronic information, physical acceptance or pickup, physical processing, transport or delivery, and uncertain events. Store both the carrier’s original message and your normalized category. That lets an analyst revisit a questionable classification without losing the underlying evidence.
Consider the following decision guide. These are classification principles, not universal translations of carrier status codes:
| Event description | Treatment | Reason |
|---|---|---|
| Label created or shipment information received | Exclude | It confirms a data or label event, not physical custody. |
| Pickup scheduled or requested | Exclude | A planned pickup is not a completed handoff. |
| Parcel accepted or picked up by carrier | Include when the event confirms completion | A completed acceptance or pickup supports physical possession. |
| Processed or arrived at a carrier facility | Usually include | It supports physical handling, even if an earlier acceptance scan is missing. |
| Ambiguous “received” or “in transit” message | Review carrier context | The wording alone may not establish what was received or who observed it. |
Avoid a rule that treats every “in transit” event as the first scan. Some feeds use broad status labels while the detailed description carries the useful distinction. Conversely, do not require an event literally named “acceptance”: the first visible evidence of possession may be a facility-processing scan. In that case, report it as the first observed physical scan, not proof that physical custody began at that precise moment.
Detect the first scan step by step
- Collect all events tied to the shipment and its carrier legs. Preserve the tracking number, carrier identity, original status, event description, event location when supplied, event timestamp, and the time your system received the update. If a shipment has a new tracking number after a handoff, link the numbers before calculating a shipment-level first scan.
- Separate carrier observations from merchant-side actions. A fulfillment-system “shipped” timestamp and a carrier tracking event answer different questions. Keep them available for comparison, but do not merge them into one event stream without identifying their sources.
- Classify each carrier event. Map explicit electronic notices to an excluded category. Map completed acceptance, confirmed pickup, and physical facility events to qualifying categories. Put unclear descriptions into a review category rather than forcing a yes-or-no answer.
- Normalize timestamps cautiously. Use the event’s occurrence time when it is available and its time zone is known. Retain the original timestamp and time zone alongside any converted value. An update first received by your system at 14:00 might describe a scan that happened earlier; ingestion time is not automatically scan time.
- Select the earliest qualifying event. Calculate one result across linked carrier legs for the shipment, and a separate result for each carrier if the workflow needs both. Keep a reference to the selected source event so the decision is auditable.
- Attach a confidence or review state. Mark a clear, carrier-attributed acceptance event differently from a vague processing update with an uncertain timestamp. If no event qualifies, return “first physical scan not yet observed,” rather than treating label creation as a substitute.
For example, suppose a feed shows “label created” on Monday, “shipment information received” on Tuesday, and “processed at origin facility” on Wednesday. Under this rule, Wednesday is the first observed physical scan. It does not prove the parcel was handed over on Wednesday; an earlier handoff may have occurred without a visible event. If a second carrier later records “accepted at local facility,” that later event can be the second carrier’s first scan without changing the shipment-level result.
Handle handoffs, missing scans, and late-arriving updates
Multi-carrier shipments are harder because one timeline may show events from an origin carrier, a transport partner, and a delivery carrier. First establish which carrier generated each event. A transfer announcement by the first carrier is not automatically proof that the next carrier scanned the parcel. Treat the receiving carrier’s first confirmed physical event as a separate milestone.
Tracking events can also arrive out of order. If a newly received update carries an earlier occurrence time than the event you previously selected, recalculate the first observed scan and retain a record of the change. Do not assume the first event your application received is the earliest event that occurred. Where an event has no usable occurrence time, record the limitation rather than placing it precisely against timestamped scans.
Missing data requires the same care. No qualifying scan in a feed means no qualifying scan was observed in that feed. It does not prove the parcel was never handed to a carrier. A bulk handoff, a delayed update, a carrier-identity mismatch, or an unlinked replacement tracking number could all warrant investigation. Check the carrier’s own tracking record and the shipment’s handoff documentation when the operational decision is consequential.
For cross-border movements, be especially careful with phrases such as “arrived at destination” or “handed to local carrier.” They may describe a transport milestone or a transfer reported by the sending party. They should not automatically become the receiving carrier’s first physical scan. Attribute the event to its reporting carrier, then look for a receiving-carrier observation.
Make the result useful in an operational workflow
A reliable detection rule should produce more than a date. Record the selected event’s original wording, carrier, tracking number, source timestamp, normalized timestamp, classification, and whether it is the shipment-level or carrier-level first scan. Include a reason when an event was excluded or sent for review. This makes exceptions explainable to support, fulfillment, and engineering teams.
Use two separate clocks when monitoring handoff: time since the merchant created or marked the shipment, and time since the first observed carrier scan. The first can reveal a possible pre-induction delay; the second describes an interval after carrier activity becomes visible. Combining them into a single “transit time” metric hides the distinction the first-scan rule is designed to preserve.
A multi-carrier tracking integration can help collect events, but it cannot eliminate the need to validate what those events mean. 17TRACK’s Tracking API is a relevant option for teams integrating shipment tracking into their own systems. Before using any provider’s data to trigger a business rule, review its API documentation and test the actual event fields and descriptions returned for your carriers and shipment routes. Confirm which field represents event occurrence time, how carriers are identified, and whether the events provide enough detail to distinguish electronic notices from physical handling. Do not assume a normalized status alone proves a physical scan.
A sensible test set includes a shipment with a label but no visible acceptance, one whose first visible physical event is facility processing, one with a carrier handoff, and one with an older event delivered to your system late. For each case, compare the automated selection with the original carrier messages. Add new carrier-specific rules only when you can explain why their events qualify.
FAQ
Does “label created” count as the first carrier scan?
No. Label creation indicates that shipping information or a label exists. By itself, it does not confirm that a carrier physically handled the parcel.
What if the first visible event says “arrived at facility”?
It can be the first observed physical scan if the event is attributable to a carrier facility. Do not describe it as the exact time the carrier first took custody unless a separate acceptance record supports that conclusion.
Why does my tracking page show a later first scan than a merchant’s shipping date?
The merchant’s date may reflect fulfillment or label creation, while the tracking page displays carrier events. A gap between them is worth checking, but neither timestamp alone explains when the physical handoff occurred.
Should a new carrier’s acceptance replace the shipment’s first scan?
Not if an earlier qualifying scan exists on a linked carrier leg. Keep the earliest event as the shipment-level first scan and record the new carrier’s acceptance as that carrier’s first scan.
Can I use the time an API update arrived as the scan time?
Only as a clearly labeled fallback when no event occurrence time is available. Updates may be delayed or delivered out of order, so receipt time and scan time should remain separate fields.
Sources
- 17TRACK — Tracking API. Product reference for the multi-carrier tracking integration discussed above.
- 17TRACK — API Documentation. Technical reference for checking available tracking data and integration details before implementing an event rule.


