Skip to main content
HomeBlogGuidesShipment Status Codes: Common Carrier, Edi and API Codes Explained

Shipment Status Codes: Common Carrier, Edi and API Codes Explained

17TRACK

Shipment status codes are short labels for events in a shipment’s journey, but they do not form one universal language. A carrier tracking code, an EDI shipment-status code, and an API response code may describe different things: where a shipment is, what happened to it, or whether a software request succeeded. To interpret one correctly, identify its source, read the accompanying event details, and distinguish a delivery event from a data-transfer result.

Shipment Status Codes Common Carrier Edi and API Codes Explained

This guide is for operations teams, developers, and anyone trying to make sense of tracking data from more than one system. The most useful question is not simply “What does this code mean?” It is “What does this code mean in this carrier’s or system’s documentation, for this shipment, at this point in time?”

The three meanings of a shipment status code

Tracking systems often display a plain-English status while storing a more specific code behind it. That code can belong to one of three layers:

  • Carrier event codes identify an event reported by the organization handling the shipment, such as pickup, an arrival scan, a delivery attempt, or delivery. Their definitions can vary by carrier and service.
  • EDI codes appear in structured business messages exchanged between organizations. An EDI message may report shipment progress, but its format and code values have to be interpreted under the applicable standard and trading-partner agreement.
  • API and HTTP codes tell an application what happened when it requested or received data. An HTTP success response means the request was handled successfully at the protocol level; it does not mean the parcel was delivered.

These layers can appear together. An application might successfully retrieve an EDI-derived carrier event through an API. The HTTP response, the EDI event, and the customer-facing tracking label could all contain different status values without contradicting one another.

Common carrier statuses and what they actually establish

Carrier wording is not standardized across every network, but most tracking histories can be read through a small set of operational milestones. The descriptions below are interpretations of common tracking language, not a universal codebook.

Common labelWhat it usually establishesWhat it does not necessarily establish
Label created or information receivedShipment information has entered a system.That the carrier has physically received the parcel.
Accepted or picked upA carrier has recorded receipt or collection.That the parcel has reached its destination network.
In transitThe shipment is progressing through a transport network.That it is moving continuously or will arrive on a particular day.
Out for deliveryThe carrier has recorded a last-mile delivery-stage event.That delivery is guaranteed that day.
Delivery attemptedA delivery attempt was recorded.That the parcel was handed to the recipient.
DeliveredThe carrier has recorded a delivery event.Who received the parcel, or where it was left, unless supporting details say so.
ExceptionAn event needs attention or has interrupted the expected path.That the parcel is lost or will never be delivered.

Read each label alongside its timestamp, location, service details, and any accompanying description. “Delivered” is stronger evidence of completion than “out for delivery,” but a recipient investigating a missing parcel may still need the carrier’s available delivery details. Likewise, “exception” is a category, not a diagnosis: an address issue and an unsuccessful delivery attempt call for different next steps.

A tracking history can also contain gaps. Scans occur at operational points, not necessarily at every movement. If a shipment has no new event, that alone does not establish that it has stopped moving. Check the last confirmed event and the carrier’s stated next step before treating a quiet tracking page as an exception.

EDI shipment status codes: a message, not just a label

Electronic data interchange, or EDI, lets organizations exchange structured business documents. In X12-based workflows, the X12 standard includes the 214 Transportation Carrier Shipment Status Message, which is used to communicate shipment-status information. UN/EDIFACT has its own message structures; the IFTSTA message specification describes an international multimodal status-reporting message. These are different standards, so a code from one should not be decoded with a list intended for the other.

In an X12 214, a status value needs the surrounding message context. Implementations may include information about the event, its date and time, and its location. A short code copied out of that context can be misleading: the same operational question may require both a status code and a reason or appointment-related detail. Trading partners may also agree on which events to send and how to interpret particular combinations. The relevant implementation guide and partner mapping are therefore more useful than an unsourced list of “all EDI shipping codes.”

EDI also carries processing signals. An acknowledgment that an interchange or transaction was received or accepted addresses message processing; it is not proof that a shipment was delivered. Keep the acknowledgment state separate from the business event reported inside the shipment-status message. Otherwise, an integration can incorrectly mark a parcel complete merely because a file passed validation.

When an EDI status is unclear, ask four questions: Which standard and version produced the message? Which transaction or message type is it? Which segment contains the value? What does the trading-partner specification say about that value and any related reason code? These checks establish the meaning more reliably than the code’s letters or numbers alone.

API codes: request outcomes versus shipment events

An API response commonly contains two kinds of information that should be handled separately. The HTTP status code describes the outcome of the request. The response body may contain tracking records, event descriptions, or an application-specific status. The HTTP Semantics specification defines protocol-level response codes; it does not define parcel-delivery milestones.

  • 200 OK: The HTTP request succeeded. Inspect the response body for the shipment’s actual tracking state.
  • 401 Unauthorized: Authentication is required or the supplied credentials were not accepted. This is an integration issue, not a shipment event.
  • 404 Not Found: The requested resource was not found at that endpoint. Do not automatically translate it to “parcel lost”; confirm the identifier, endpoint, and API’s documented behavior.
  • 429 Too Many Requests: The client has sent too many requests in a given period. Handle it as a request-rate issue under the API’s guidance, not as a carrier exception.

Even a successful request can return no useful tracking event yet. For example, a shipment identifier may have been created before a physical acceptance scan appears. Conversely, a temporary API error does not erase the carrier’s last confirmed event. A well-designed interface preserves the distinction between current known shipment state and freshness or availability of tracking data.

If you integrate a tracking service, use its own documentation to interpret application-level fields and values. The 17TRACK Tracking API documentation, for example, is the appropriate starting point for developers working with that API; do not substitute an X12 code list or generic HTTP definitions for its documented response format. Before mapping any provider’s output into your own statuses, test real examples of initial registration, normal movement, an attempted delivery, an exception, and delivery.

How to map multiple code sets without losing meaning

Businesses often need a small set of customer-facing labels even when their carriers produce many distinct events. A practical mapping can use broad categories such as information received, carrier accepted, in transit, out for delivery, delivery issue, and delivered. The categories make a tracking page readable, but they should not replace the original event data.

  1. Keep the raw value and its source. Store the original carrier or EDI code, the provider identifier, and any message or API version available. A value without its code set is difficult to audit.
  2. Preserve the event details. Keep the description, event time, reported location, and reason information when supplied. The broad category alone may not tell an agent what to do.
  3. Separate event time from receipt time. An event may reach your system after it occurred. Displaying only the time your application received it can distort the shipment timeline.
  4. Map by meaning, not spelling. Do not assume two carriers’ identical-looking codes mean the same thing. Check each carrier’s definitions and examples.
  5. Handle ambiguity explicitly. If a code cannot be confidently classified, retain the original description and mark the normalized category as unresolved rather than inventing a delivery state.
  6. Test changes and edge cases. Review mappings when a provider changes its documentation. Include returns, repeated scans, corrections, and events received out of order in testing.

One useful rule is to avoid treating every event as an irreversible progression. A shipment can have an attempted delivery followed by another out-for-delivery event; a correction can also alter what an earlier event appeared to mean. For operational reporting, define how you select the current status from the full event history. The event with the latest receipt time is not automatically the event with the latest occurrence time or the most accurate description.

A quick way to investigate an unfamiliar code

Start with the screen, file, or response where you found the value. If it came from a carrier’s tracking page, use that carrier’s event description or help material. If it came from EDI, identify the standard, message type, segment, version, and partner guide. If it came from an API, determine whether you are looking at an HTTP response code or a field inside the response body.

Next, find the shipment’s most recent confirmed physical event. Compare the unfamiliar code with the event timestamp, location, and any exception reason. For customer communication, describe what is known rather than filling gaps with predictions. “The carrier recorded an attempted delivery” is more defensible than “Your parcel will arrive tomorrow” when the record contains no confirmed next attempt.

Escalate when the interpretation changes a real-world decision: a support agent may need to contact the carrier about an address problem; a developer may need to repair an authentication error; an operations team may need to check a trading-partner mapping. Those are different action owners, even when each issue first appears as a “status code.”

FAQ

Is there a universal list of shipment status codes?

No single list covers carrier events, EDI messages, and API responses. Identify the code’s source and use the documentation for that carrier, standard, or API. A general tracking label can help with orientation, but it is not a substitute for the original definition.

Does “label created” mean the carrier has my package?

Not necessarily. It generally indicates that shipment information has been created or transmitted. Look for a separate acceptance, pickup, or other physical-event scan before concluding that the carrier has received the parcel.

Does HTTP 200 mean my shipment was delivered?

No. HTTP 200 means the request succeeded at the protocol level. The shipment’s status must be read from the returned tracking data, if the response provides it.

What is the difference between an EDI acknowledgment and a delivery status?

An acknowledgment concerns receipt or processing of an EDI message. A delivery status is a business event about the shipment. A successfully processed message can report that a shipment is still in transit.

Should an exception code be displayed as “delivery failed”?

Only when the underlying event supports that wording. An exception may describe a range of issues. Read its reason and event description before choosing a customer-facing label or next action.

Sources