Tracking Web Service Developer Guide
Tracking Web Service Developer Guide
September 13,2023
Important Information
Permitted Territories
This document can only be used in the countries of the Permitted Territory as defined in the UPS Technology
Agreement, as applicable.
Use
The application must not be designed to allow distribution of information received through the UPS Developer
Kit APIs to third parties, other than to persons having a bona fide interest in such information (e.g., the shipper,
receiver, or the third party payer, or to your service providers authorized by UPS).
Display of Information
The application must not display information concerning any other provider of shipping services or such other
shipping services on any page, whether comprising one or more frames, displaying information your application
receives from the UPS Developer Kit APIs. Your application must present all data within each field received
through the UPS Developer Kit APIs without amendment, deletion, or modification of any type.
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary ii
Notice
In all communications with UPS concerning this document, please refer to the document date located on the
cover.
Copyright
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary
The use, disclosure, reproduction, modification, transfer, or transmittal of this work for any purpose in any form
or by any means without the written permission of United Parcel Service is strictly prohibited.
Trademarks
Some of the UPS corporate applications use United States city, state, and postal code information obtained by
United Parcel Service of America, Inc. under a non-exclusive license from the United States Postal Service.
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary iii
Table of Contents
Chapter 1: Introduction ......................................................................................................... 1
Release Features ..................................................................................................................................... 2
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary iv
Chapter 6: Tracking API FAQs ............................................................................................... 50
Signature Tracking FAQs ................................................................................................................... 53
Appendices ......................................................................................................................... 54
Error Codes (WS) ................................................................................................................................... 55
Common Error Codes ........................................................................................................................ 55
Tracking Error Codes ......................................................................................................................... 56
Accessorial Codes ................................................................................................................................ 59
Country/Territory Codes ....................................................................................................................... 60
Currency Codes ..................................................................................................................................... 68
Current Status Codes............................................................................................................................ 76
Package Service Codes ........................................................................................................................ 78
Reference Number Codes..................................................................................................................... 79
Request Option Matrix .......................................................................................................................... 80
Request Option Codes .......................................................................................................................... 81
Service Codes ........................................................................................................................................ 82
United States .................................................................................................................................. 82
Canada ............................................................................................................................................. 83
European Union ............................................................................................................................. 83
Mexico .............................................................................................................................................. 83
Poland .............................................................................................................................................. 84
Puerto Rico ..................................................................................................................................... 84
Undefined Countries/Territories ............................................................................................... 84
All Countries/Territories ............................................................................................................. 85
Mail Innovations ............................................................................................................................ 85
State / Province Codes.......................................................................................................................... 86
United States...................................................................................................................................... 86
Canada ............................................................................................................................................... 87
Subversion details ................................................................................................................................. 89
Locale codes .......................................................................................................................................... 91
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary v
Tracking Web Service Developer Guide September 13,2023
Chapter 1: Introduction
In this document, you will find guidance and instructions for integrating the Tracking Web Service into your
application, service, or system.
Intended Audience
This guide is intended for developers who will be integrating the Tracking Web Service API into their application,
service, or system.
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 1
UPS Tracking Web Service Developer Guide September 13,2023
Release Features
August 2022
Description
Flight Indicator
Tracking will now include the flight indicator, will be used to display a plane icon and details on the status of the
UPS Premier Package so that the user will know their package is currently on a plane. The locations will update
once the package is no longer in flight.
New subversion 2207 has been added for Flight Indicator.
October 2020
Description
UPS Premier
UPS® Premier is a contract service that will provide additional visibility to critical healthcare-specific movements for
the following services:
• UPS® Premier Silver
• UPS® Premier Gold
• UPS® Premier Platinum
Tracking will now include the premier accessorial, code and description in the tracking response when requested.
New subversion 2009 has been added for UPS Premier.
January 2020
No changes
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 2
UPS Tracking Web Service Developer Guide September 13,2023
Tracking
• The Tracking API supports Package shipments.
• UPS has a rule that header information must be established before the shipment can be displayed. Header
information is established at the billing point; this usually occurs the night of the shipment.
• Some Tracking data may not be returned in the response because the data rolled off. Database retention times:
o Manifest information, and Manifest Voided scans: 120 days
o Exceptions scans: 120 days
o In Transit scans like Origin/Arrivals/Departures/Destination scans: 120 days
o Delivery records and signature images: 120 days
• Trade Direct small package manifest uploads are kept in an advanced PLD database, and only released for
visibility after the Origin scan is applied to the label.
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 3
UPS Tracking Web Service Developer Guide September 13,2023
• Refrain from tracking the same numbers continually throughout the day. Unique tracking numbers should be
tracked no more than once per hour or a maximum of 24 times in a single day.
• Avoid automatic access between 10:00 am to 3:00 pm EST. However, you may track critical packages during this
time.
If daily/weekly tracking requests exceed daily shipping volume by a large margin, UPS reserves the right to
suspend tracking for that account until the situation is rectified. If a resolution cannot be found and implemented,
tracking for that account may be terminated.
Tracking Numbers
UPS uses tracking numbers to identify and track packages in its system. Applications can use this tracking number to
track, locate, and verify arrival of a package. A successful query by tracking number returns information for the
specific package within a shipment. For example, if a package shipment contained four individual packages, the
query response would show a shipment containing the one package out of four with the associated tracking number.
NOTE: Tracking numbers are available up to 120 days after delivery. UPS makes every effort to ensure that a
tracking number uniquely identifies a package for 120 days. However, it is possible that a tracking number may
be reused within a shorter time period. If this occurs, a query by tracking number returns all packages matching
the tracking number.
NOTE: UPS makes every effort to ensure that a shipment identification number uniquely identifies a shipment for
up to 120 days. However, it is possible that a shipment identification number may be reused within a shorter time
period. If this occurs, a query by shipment identification number returns all shipments matching the shipment
identification number.
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 4
UPS Tracking Web Service Developer Guide September 13,2023
Candidate Bookmarks
Client applications (or their users) can examine the list of candidates to identify the desired shipment. Once the
candidate is identified, the application can issue another tracking request. By including the candidate bookmark
information for the appropriate shipment in this second request, the application eliminates ambiguity and can receive
correct tracking results.
Reference Numbers
The ability to track any UPS package or shipment by reference number gives applications added flexibility and
convenience. Reference numbers can be a purchase order number, job number, or a group of words identifying a
shipment (such as “10 widgets” or “gift for mom”).
• Applications can assign a reference number to an individual package or to all packages in a shipment.
• A reference number can contain any combination of letters and numbers up to 35 characters.
• Applications assign a reference number when they upload electronic shipping data to UPS.
• A successful query by reference number returns all of the packages within a shipment identified by the reference
number. For example, if a shipment contained four packages, and two of the packages were tagged with the
reference number, “10 widgets,” the query response would show a shipment containing those two packages.
Since reference numbers are assigned by customers, UPS cannot guarantee the uniqueness of a reference number
across all packages shipped through the UPS system. To resolve this ambiguity, a search specification may contain
any of the following qualifiers:
• Pickup date range: A range of dates within which UPS picked up the package. The default is 30 days before
today's date.
• UPS account number: The shipper's UPS account number.
• Destination postal code: A zip code (U.S.) or postal code (international).
• Destination country or territory: The destination country or territory code.
NOTE: Reference numbers are available up to 6 months after the shipper provided the electronic manifest, and
may roll off before the delivery record.
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 5
UPS Tracking Web Service Developer Guide September 13,2023
No stress testing should ever be performed by customers against any UPS systems.
To access testing and production sites the user must have an Access Key. You can request an Access Key after
establishing a UPS profile and associating your shipping account.
System Availability
The Customer Integration Environment is available 24 hours a day, 7 days a week. Note, the system is occasionally
down for server maintenance.
Integration Testing
For integration testing, direct your Tracking Web Service to: https://wwwcie.ups.com/webservices/Track
Production
Once testing is complete, direct your Tracking Web Service API to the production URL:
https://onlinetools.ups.com/webservices/Track
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 6
UPS Tracking Web Service Developer Guide September 13,2023
Tracking 1Z12345E6205277936 Activity (All) Next Day Air 2nd Delivery attempt
Saver
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 7
UPS Tracking Web Service Developer Guide September 13,2023
UPS expects schema elements/tags as defined in the XPath and presented in the schema structure i.e., no
spelling or structural deviations. Elements/tags that are not defined in the schema or do not conform to the
schema structure will be ignored by UPS.
Required
• Yes - indicates the element must be present in the request or response.
• Yes* - indicates the element must be present in the request if the parent container is present in the request.
• No - indicates the element is optional and may be used if it applies to the request.
• Cond – indicates the element is required under certain conditions.
Type
• Container - holds a group of related elements.
• String - consists of alphanumeric characters, spaces, and decimals.
Length
• The maximum number of characters that can be present in a String. Length is not applicable (N/A) to Containers.
Max Allowed
• The maximum number of elements or containers that can be present in the parent container.
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 8
UPS Tracking Web Service Developer Guide September 13,2023
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 9
UPS Tracking Web Service Developer Guide September 13,2023
TrackRequest XPath
Name Constraint Description Validation Type
/TrackRequest
TrackRequest Required: Yes Container for the root Track All
Type: Container Request. Package, Mail
Max Allowed: 1 Innovations can be tracked
Length: N/A by invoking this request.
Request
Name Constraint Description Validation Type
/TrackRequest/Request
Request Required: Yes Common Request element All
Type: Container should be provided by users
Max Allowed: 1
Length: N/A
/TrackRequest/Request/RequestOption
RequestOption Required: Cond For optional processing. For valid values, see All
Type: String Request Option Codes in the
Max Allowed: 1 Appendix.
Length: 1..15
/TrackRequest/Request/SubVersion
SubVersion Required: Yes* When UPS introduces new Supported values: 0114, All
Type: String elements in the response 1407, 1507,
Max Allowed: 1 that are not associated with 1801,1907,1909,2009
Length: 4 new request elements,
Subversion is used. This
ensures backward
compatibility.
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 10
UPS Tracking Web Service Developer Guide September 13,2023
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 11
UPS Tracking Web Service Developer Guide September 13,2023
InquiryNumber
Name Constraint Description Validation Type
/TrackRequest/InquiryNumber
InquiryNumber Required: Cond Inquiry Number. All
Type: String
Max Allowed: 1 Package:
Length: 9..34 For package, the number will
be treated as Shipment
Identification Number or
Package Tracking Number
based on the value of the
element TrackingOption.
Tracking options:
01, the inquiry number will be
treated as shipment
identification number.
02, the inquiry number will be
treated as package Tracking
number.
Mail Innovations:
For mail innovations this
number will be the tracking
number. When tracking for
mail innovations by tracking
number the TrackingOption
also needs to be set to03.
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 12
UPS Tracking Web Service Developer Guide September 13,2023
TrackingOption
Name Constraint Description Validation Type
/TrackRequest/TrackingOption
TrackingOption Required: Cond TrackingOption applies to Package and Mail PKG, MI
Type: String Package and Mail Innovations only.
Max Allowed: 1 Innovations only.
Length: 2
Package:
01 - Single trackable entity
with more trackable entities
inside it
02 - Single trackable entity
with no more trackable
entities inside it
Mail Innovations:
For Mail Innovations track by
number, this is a mandatory
field which has to be set to
03.
For Mail Innovations a single
shipment has single
package.
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 13
UPS Tracking Web Service Developer Guide September 13,2023
CandidateBookmark
Name Constraint Description Validation Type
/TrackRequest/CandidateBookmark
CandidateBookmark Required: No During InquiryNumber and FRT
Type: String Reference Number
Max Allowed: 1 searches, it is possible that
Length: 1..15 duplicate shipments will be
found. If duplicate shipments
are found, then a Candidate
Summary with a
corresponding
CandidateBookmark for each
of the Shipments will be
returned in the track
response.
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 14
UPS Tracking Web Service Developer Guide September 13,2023
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 15
UPS Tracking Web Service Developer Guide September 13,2023
ShipperAccountInfo
Name Constraint Description Validation Type
/TrackRequest/ShipperAccountInfo
ShipperAccountInfo Required: Cond Container for Shippers Package Signature Tracking PKG SIG
Type: Container account details. only.
Max Allowed: 1
Length: N/A Used to verify the customers
signature tracking privileges
for package tracking if
shipper selects one of the
RequestOption including
signature track.
/TrackRequest/ShipperAccountInfo/PostalCode
PostalCode Required: Yes* Postal Code of the Shipper Package Signature Tracking PKG SIG
Type: String Account used to place the only.
Max Allowed: 1 shipment.
Length: 1..9
This data will be used in
verifying the rights of the
customer to view signature
results.
/TrackRequest/ShipperAccountInfo/CountryCode
CountryCode Required: Yes* Country or Territory Code of Package Signature Tracking PKG SIG
Type: String the Shipper Account used to only.
Max Allowed: 1 place the shipment.
Length: 2
This data will be used in
verifying the rights of the
customer to view signature
results.
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 16
UPS Tracking Web Service Developer Guide September 13,2023
Continued...
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 17
UPS Tracking Web Service Developer Guide September 13,2023
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 18
UPS Tracking Web Service Developer Guide September 13,2023
TrackResponse XPath
Name Constraint Description Validation Type
/TrackResponse
TrackResponse Required: Yes Container for root Track All
Type: Container Response.
Max Allowed: 1
Length: N/A
Response
Name Constraint Description Validation Type
/TrackResponse/Response
Response Required: Yes Container for common All
Type: Container Response element.
Max Allowed: 1
Length: N/A
/TrackResponse/Response/ResponseStatus
ResponseStatus Required: Yes Response Status Container. All
Type: Container
Max Allowed: 1
Length: N/A
/TrackResponse/Response/ResponseStatus/Code
Code Required: Yes Identifies the success or failure All
Type: String of the transaction.
Max Allowed: 1 1 = Successful
Length: 1
/TrackResponse/Response/ResponseStatus/Description
Description Required: Yes Describes Response Status All
Type: String Code. Returns text of Success.
Max Allowed: 1
Length: 1..35
/TrackResponse/Response/Alert
Alert Required: Cond. Alert Container. There can be All
Type: Container zero to many alert containers
Max Allowed: UNB with code and description.
Length: N/A
/TrackResponse/Response/Alert/Code
Code Required: Yes* Warning code returned by the All
Type: String system.
Max Allowed: 1
Length: 1..10
/TrackResponse/Response/Alert/Description
Description Required: Yes* Warning messages returned by All
Type: String the system
Max Allowed: 1
Length: 1..150
/TrackResponse/Response/TransactionReference
TransactionReference Required: No Transaction Reference All
Type: Container Container.
Max Allowed: 1
Length: N/A
/TrackResponse/Response/TransactionReference/CustomerContext
CustomerContext Required: Yes* The CustomerContext All
Type: String Information which will be
Max Allowed: 1 echoed during response.
Length: 1..512
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 19
UPS Tracking Web Service Developer Guide September 13,2023
Shipment
Name Constraint Description Validation Type
/TrackResponse/Shipment
Shipment Required: Yes Shipment Container All
Type: Container
Max Allowed: UNB
Length: 1..240
/TrackResponse/Shipment/InquiryNumber
InquiryNumber Required: Yes Shipment Inquiry Number All
Type: Container Container
Max Allowed: 1
Length: N/A
/TrackResponse/Shipment/InquiryNumber/Code
Code Required: Yes Code to indicate the type of All
Type: String Inquiry Number.
Max Allowed: 1
Length: 2..6 Package:
For package this element
returns:
01 -Shipment Identification
Number
Mail Innovations:
03- Mail Innovation tracking
number
/TrackResponse/Shipment/InquiryNumber/Description
Description Required: Yes* Description of the Inquiry All
Type: String Number as indicated by code as
Max Allowed: 1 above.
Length: 1..35
/TrackResponse/Shipment/InquiryNumber/Value
Value Required: Yes* The actual value of the Inquiry All
Type: String Number.
Max Allowed: 1
Length: 1..34
/TrackResponse/Shipment/ShipmentType
ShipmentType Required: No Container for the type of All
Type: Container Shipment.
Max Allowed: 1
Length: N/A
/TrackResponse/Shipment/ShipmentType/Code
Code Required: Yes* This element will be used to All
Type: String indicate the type of the
Max Allowed: 1 shipment being tracked, either
Length: 2 Package, Mail Innovations .
01 - Package
03 - Mail Innovations
/TrackResponse/Shipment/ShipmentType/Description
Description Required: Yes* Description of the code above. All
Type: String
Max Allowed: 1
Length: 1..15
/TrackResponse/Shipment/CandidateBookmark
CandidateBookmark Required: Cond During Tracking and Reference FRT
Type: String Number searches, it is possible
Max Allowed: 1 that duplicate shipments will be
Length: 1..15 found.
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 20
UPS Tracking Web Service Developer Guide September 13,2023
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 21
UPS Tracking Web Service Developer Guide September 13,2023
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 22
UPS Tracking Web Service Developer Guide September 13,2023
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 23
UPS Tracking Web Service Developer Guide September 13,2023
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 24
UPS Tracking Web Service Developer Guide September 13,2023
/TrackResponse/Shipment/Volume/UnitOfMeasurement
UnitOfMeasurement Required: Yes* Unit of measurement container. FRT
Type: Container
Max Allowed: 1
Length: N/A
/TrackResponse/Shipment/Volume/UnitOfMeasurement/Code
Code Required: Yes* Code indicating the unit of FRT
Type: String measurement for the volume.
Max Allowed: 1
Length: 2
/TrackResponse/Shipment/Volume/UnitOfMeasurement/Description
Description Required: Yes* Description of the unit of FRT
Type: String measurement as indicated by
Max Allowed: 1 code.
Length: 1..35
/TrackResponse/Shipment/Volume/Value
Value Required: Yes* Value of the total volume of the FRT
Type: String shipment.
Max Allowed: 1
Length: 1..35
/TrackResponse/Shipment/BillToName
BillToName Required: No Name of the person to whom FRT
Type: String the shipment is billed to.
Max Allowed: 1
Length: 1..35
/TrackResponse/Shipment/NumberOfPackagingUnit
NumberOfPackagingU Required: No Number of packaging unit. FRT
nit Type: Container
Max Allowed: UNB
Length: N/A
/TrackResponse/Shipment/NumberOfPackagingUnit/Type
Type Required: Yes* Type of packaging FRT
Type: Container
Max Allowed: 1
Length: N/A
/TrackResponse/Shipment/NumberOfPackagingUnit/Type/Code
Code Required: Yes* Packaging unit codes: FRT
Type: String 01 - Piece
Max Allowed: 1 02 – Pallet
Length: 2
/TrackResponse/Shipment/NumberOfPackagingUnit/Type/Description
Description Required: Yes* Description of the above code. FRT
Type: String
Max Allowed: 1
Length: 1..35
/TrackResponse/Shipment/NumberOfPackagingUnit/Value
Value Required: Yes* The actual number of unit. FRT
Type: String
Max Allowed: 1
Length: 1..15
/TrackResponse/Shipment/COD
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 25
UPS Tracking Web Service Developer Guide September 13,2023
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 26
UPS Tracking Web Service Developer Guide September 13,2023
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 27
UPS Tracking Web Service Developer Guide September 13,2023
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 28
UPS Tracking Web Service Developer Guide September 13,2023
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 29
UPS Tracking Web Service Developer Guide September 13,2023
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 30
UPS Tracking Web Service Developer Guide September 13,2023
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 31
UPS Tracking Web Service Developer Guide September 13,2023
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 32
UPS Tracking Web Service Developer Guide September 13,2023
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 33
UPS Tracking Web Service Developer Guide September 13,2023
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 34
UPS Tracking Web Service Developer Guide September 13,2023
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 35
UPS Tracking Web Service Developer Guide September 13,2023
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 36
UPS Tracking Web Service Developer Guide September 13,2023
/TrackResponse/Shipment/Package/Activity/GMTDate
GMTDate Required: No Date of activity. PKG, MI
Type: String Format: YYYY-MM-DD
Max Allowed: 1 Note: This container is return if
Length: 8 SubVersion is 1907 or above
/TrackResponse/Shipment/Package/Activity/GMTTime
GMTTime Required: No Time of activity. PKG, MI
Type: String Format: hh:mm:ss or hh:mm
Max Allowed: 1 Note: This container is return if
Length: 6 SubVersion is 1907 or above
/TrackResponse/Shipment/Package/Activity/GMTOffset
GMTOffset Required: No GMT Offset of activity for the PKG, MI
Type: String time zone.
Max Allowed: 1 Format: (+/-) hh:mm
Length: 6
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 37
UPS Tracking Web Service Developer Guide September 13,2023
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 38
UPS Tracking Web Service Developer Guide September 13,2023
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 39
UPS Tracking Web Service Developer Guide September 13,2023
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 40
UPS Tracking Web Service Developer Guide September 13,2023
/TrackResponse/Shipment/Package/PreauthorizedReturnInformation/ReturnRequestURL
ReturnRequestURL Required: No Contains the url that can be PKG, MI
Type: String used to initiate the “return
Max Allowed: 1 process”.
Length: UNB
/TrackResponse/Shipment/Package/PreauthorizedReturnInformation/OriginalTrackingNumber
OriginalTrackingNumbe Required: No Contains the tracking number of PKG, MI
r Type: String the original package.
Max Allowed: 1
Length: 1...21
/TrackResponse/Shipment/Package/PreauthorizedReturnInformation/ReturnTrackingNumber
ReturnTrackingNumber Required: No Contains the tracking number of PKG, MI
Type: String the return package.
Max Allowed: 1
Length: 1...21
/TrackResponse/Shipment/Package/UPSPremierAccessorial
UPSPremierAccessoria Required: No PKG
l Type: Container
Max Allowed: 1
/TrackResponse/Shipment/Package/UPSPremierAccessorial/UPSPremierCode
/TrackResponse/Shipment/Package/UPSPremierAccessorial/UPSPremierDescription
UPSPremierDescriptio Required: No Valid Values: PKG
n Type: String UPS Premier Silver
Max Allowed: 1 UPS Premier Gold
Length: N/A UPS Premier Platinum
/TrackResponse/Shipment/Package/FlightIndicator
FlightIndicator Required: No This indicator will be used to Valid Values: PKG
Type: String display a plane icon and details true,
Max Allowed: 1 on the status of the UPS false
Length: N/A Premier Package so that the
user will know their package is
currently on a plane. The
locations will update once the
package is no longer in flight
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 41
UPS Tracking Web Service Developer Guide September 13,2023
Disclaimer
Name Constraint Description Validation Type
/TrackResponse/Disclaimer
Disclaimer Required: No Any necessary or special notice. All
Type: String
Max Allowed: UNB
Length: 1..300
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 42
UPS Tracking Web Service Developer Guide September 13,2023
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 43
UPS Tracking Web Service Developer Guide September 13,2023
Track Response
<?xml version=”1.0” encoding=”UTF-8”?>
<soapenv:Envelope xmlns:soapenv=”http://schemas.xmlsoap.org/soap/envelope/”>
<soapenv:Header/>
<soapenv:Body>
<trk:TrackResponse xmlns:trk=”http://www.ups.com/XMLSchema/XOLTWS/Track/v2.0”>
<common:Response xmlns:common=”http://www.ups.com/XMLSchema/XOLTWS/Common/v1.0”>
<common:ResponseStatus>
<common:Code>1</common:Code>
<common:Description>Success</common:Description>
</common:ResponseStatus>
<common:TransactionReference>
<common:CustomerContext>Your Test Case Summary
Description</common:CustomerContext>
</common:TransactionReference>
</common:Response>
<trk:Shipment>
<trk:InquiryNumber>
<trk:Code>01</trk:Code>
<trk:Description>ShipmentIdentificationNumber</trk:Description>
<trk:Value>1Z12345E1305277940</trk:Value>
</trk:InquiryNumber>
<trk:ShipmentType>
<trk:Code>01</trk:Code>
<trk:Description>Package</trk:Description>
</trk:ShipmentType>
<trk:ShipperNumber>12345E</trk:ShipperNumber>
<trk:Service>
<trk:Code>013</trk:Code>
<trk:Description>NEXT DAY AIR SAVER</trk:Description>
</trk:Service>
<trk:PickupDate>20100302</trk:PickupDate>
<trk:Package>
<trk:TrackingNumber>1Z12345E1305277940</trk:TrackingNumber>
<trk:Activity>
<trk:ActivityLocation>
<trk:Address>
<trk:City>GRAND JUNCTION AIR S</trk:City>
<trk:StateProvinceCode>CO</trk:StateProvinceCode>
<trk:CountryCode>US</trk:CountryCode>
</trk:Address>
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 44
UPS Tracking Web Service Developer Guide September 13,2023
</trk:ActivityLocation>
<trk:Status>
<trk:Type>I</trk:Type>
<trk:Description>ORIGIN SCAN</trk:Description>
<trk:Code>OR</trk:Code>
</trk:Status>
<trk:Date>20100505</trk:Date>
<trk:Time>010000</trk:Time>
</trk:Activity>
<trk:PackageWeight>
<trk:UnitOfMeasurement>
<trk:Code>LBS</trk:Code>
</trk:UnitOfMeasurement>
<trk:Weight>0.00</trk:Weight>
</trk:PackageWeight>
<trk:ReferenceNumber>
<trk:Code>01</trk:Code>
<trk:Value>FLCAPA</trk:Value>
</trk:ReferenceNumber>
<trk:ReferenceNumber>
<trk:Code>08</trk:Code>
<trk:Value>TG5432</trk:Value>
</trk:ReferenceNumber>
</trk:Package>
</trk:Shipment>
</trk:TrackResponse>
</soapenv:Body>
</soapenv:Envelope>
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 45
UPS Tracking Web Service Developer Guide September 13,2023
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 46
UPS Tracking Web Service Developer Guide September 13,2023
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 47
UPS Tracking Web Service Developer Guide September 13,2023
<trk:City>LONDON CENTRAL</trk:City>
<trk:CountryCode>GB</trk:CountryCode>
</trk:Address>
</trk:ActivityLocation>
<trk:Status>
<trk:Type>X</trk:Type>
<trk:Description>Delivered to UPS Access Point™ location and awaiting customer
pickup.</trk:Description>
<trk:Code>ZP</trk:Code>
</trk:Status>
<trk:Date>20130925</trk:Date>
<trk:Time>172300</trk:Time>
</trk:Activity>
<trk:Activity>
<trk:ActivityLocation>
<trk:Address>
<trk:City>MAYSVILLE</trk:City>
<trk:StateProvinceCode>WV</trk:StateProvinceCode>
<trk:PostalCode>26833 9700</trk:PostalCode>
<trk:CountryCode>US</trk:CountryCode>
</trk:Address>
<trk:Code>MG</trk:Code>
<trk:Description>LEFT WITH MAN</trk:Description>
<trk:SignedForByName>Larry</trk:SignedForByName>
</trk:ActivityLocation>
<trk:Status>
<trk:Type>D</trk:Type>
<trk:Description>Delivered</trk:Description>
<trk:Code>KB</trk:Code>
</trk:Status>
<trk:Date>20030313</trk:Date>
<trk:Time>160000</trk:Time>
<trk:Document>
<trk:Type>
<trk:Code>04</trk:Code>
<trk:Description>POD Letter</trk:Description>
</trk:Type>
<trk:Content>Base64 Encoded PODLetter in html format</trk:Content>
<trk:Format>
<trk:Code>03</trk:Code>
<trk:Description>HTML</trk:Description>
</trk:Format>
</trk:Document>
</trk:Activity>
<trk:PackageWeight>
<trk:UnitOfMeasurement>
<trk:Code>LBS</trk:Code>
</trk:UnitOfMeasurement>
<trk:Weight>35.00</trk:Weight>
</trk:PackageWeight>
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 48
UPS Tracking Web Service Developer Guide September 13,2023
</trk:Package>
</trk:Shipment>
</trk:TrackResponse>
</soapenv:Body>
</soapenv:Envelope>
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 49
UPS Tracking Web Service Developer Guide September 13,2023
Scheduled Delivery Date Does the Tracking API provide a Yes. ScheduledDeliveryDate container described
(SDD) and Rescheduled Scheduled Delivery Date? within the Developer Guide. If the SDD changes
Delivery Date (RSD) then a date is returned within the
RescheduledDeliveryDate container.
Tracking What is the UPS Tracking API UPS Tracking API is an Internet-based
and Signature Tracking API? application that adds a new level of customer
service throughout your company and
functionality to your e-commerce Web site or
enterprise application. With UPS Tracking API,
your customers can track products they have
purchased online more efficiently than ever
before.
UPS Tracking API: Provide up-to-the-minute
shipment status – from origin to delivery – to your
online customers.
UPS Signature Tracking API: Obtain proof of
delivery containing a digitized signature and
delivery address.
Tracking How much does the UPS UPS Tracking API is free to license. There are no
Tracking API cost? hidden fees or charges, though you may require
IT resources or 3rd party developers depending on
how complex your integration application is.
Tracking What is the difference between Basically the Tracking and Signature Tracking
Tracking API and Signature API is the same, with the exception for
Tracking API? authorization to see full Delivery address,
‘delivered to’ name, and Signature image.
Tracking Can I use Tracking information in UPS strongly discourage the use of Framed
a Frame on my own site? information. See the UPS.Com Terms and
Conditions accepted by all registered users.
Tracking Why is the Tracking Online Tools Online Tools described many different APIs. UPS
now called UPS Tracking API? Tracking API describes the Tracking API and
registering for it is now simple and easier to use.
Tracking Could my Tracking API license UPS retains the right to revoke an access key or
be revoked? block access from any user that abuse the
tracking system.
Tracking Why am I not receiving a If a shipment was created with the UPS Shipping
response on my tracking number API, UIS or UIFS, do not attempt to track it
that I just created? Information immediately because it will not be available until
unavailable. the UPS database has been populated with the
manifest details, usually 5 to 10 minutes.
If a shipper used a shipping system like
WorldShip and fails to upload manifest details by
completing EOD, UPS will not have the manifest
information, and Tracking will not be able to
return a response until a subsequent event,
example: origin scan.
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 50
UPS Tracking Web Service Developer Guide September 13,2023
Basic tracking Does the Tracking API support Yes, we display tracking info for BASIC on
Basic service? UPS.com and in XOLT just like for any other
package service.
However, it is important to remember that the
Delivery is made by the post office and a delivery
scan may be delayed or not available at all.
SDD/RDD is NOT displayed with Basic services
tracking statuses.
As for an In Transit status, the status is triggered
by a movement scan, just like for our other
package offerings. An origin, pickup, arrival, or
departure scan will display In Transit status.
Reference Number If a customer processes 7 You can track a shipment through reference 1 or
Tracking packages in one shipment, will reference 2 only. When tracking a multiple-piece
reference number tracking in the shipment if you use the lead number it will show
Tracking API playback all seven you the information for the first 50 packages
packages or just the lead within that shipment however, if you track with
package or any one of the other than the lead number it will only show the
packages in some type of order? tracking information for that individual packages.
Reference number tracking Why do I see xxxxxxxxx1234 Based on the request of some shippers, some
instead of the tracking number tracking numbers in the reference number track
when I do a reference number results may be masked.
search
Scan Info Is the “Billing Information Yes
Received” scan the same as the
“Order Processed: Ready for
UPS” scan on the web?
Scan Info Why isn’t there a Scheduled Day Since these are packages that can be injected
of Delivery (SDD) returned with into the UPS Operations from any channel UPS
the Billing Information Received waits until we are certain we have taken
scan? possession of the package prior to including an
SDD.
Scan Info I see the Tracking API returning a UPS Internal Activity scan is a generic description
scan called “UPS Internal for one of several internal operations scans which
Activity”. What is this and why are filtered by the web tracking application at
don’t I see this when I track a UPS.com. These scans are not used
package on the web at externally. You may consider dropping these
UPS.com? records in your process.
POD How long can I store the POD? UPS Technology Agreement allows you to store a
POD letter (which may or may not contain digital
signature) for a maximum of 18 months.
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 51
UPS Tracking Web Service Developer Guide September 13,2023
General What is Pre-Authorized Returns? A shipper has the ability to authorize a receiver to
print a Return Service Label to make retail
merchandise returns easier. A URL is included in
the Response XML for eligible packages
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 52
UPS Tracking Web Service Developer Guide September 13,2023
Storage of electronic Is there a watermark behind the Yes. It is part of the signature image returned by
image signature image returned by the the UPS Signature Tracking API and cannot be
UPS Signature Tracking API? modified in any way, transferred etcetera.
Electronic Signature Images and POD Letters
The information you receive through the API may
include electronic signature images.
Electronic Signature Images, other than as part of
a POD Letter, may not be stored, distributed to
any third party, copied, or modified.
Each POD Letter generated or developed as the
result of using or access to the UPS OnLine Tools
Tracking Tool may be stored in electronic format
until eighteen (18) months after the delivery of the
shipment referenced in the POD Letter.
Your application may not distribute a POD Letter
electronically to third parties, other than as a
facsimile transmission.
Transmission of electronic Can the POD Letter generated No. Only faxed or mailed. It can be stored
image through a POD image be electronically for 18 months but cannot be
emailed? emailed.
Tracking How do I add shipper accounts To add shipper account for Signature tracking the
for authorization to Signature user can access myUPS on UPS.Com by logging
Tracking API? in with the user ID and password associated with
the access key, and adding the account to the
account summary. A recent invoice will be
needed to provide the latest invoice date, amount,
and control number (if applicable)
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 53
UPS Tracking Web Service Developer Guide September 13,2023
Appendices
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 54
UPS Tracking Web Service Developer Guide September 13,2023
10002 Hard The request is well formed but the request is not valid.
10006 Hard Although the document is well formed and valid, the element content contains values
which do not conform to the rules and constraints contained in this specification.
20002 Hard The specified service name, {0}, and version number, {1}, combination is invalid.
20003 Hard Please check the server environment for the proper J2EE ws apis.
20012 Hard The Client Information exceeds its Maximum Limit of {0}.
250001 Hard Invalid Access License for the tool. Please re-license.
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 55
UPS Tracking Web Service Developer Guide September 13,2023
250007 Hard The UserId is currently locked out; please try again in 30 minutes.
150040 Hard Invalid data found or the combination of data elements is invalid
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 56
UPS Tracking Web Service Developer Guide September 13,2023
151086 Hard Maximum candidate exceeded for Reference number search. Use the tracking number
search
151091 Hard Multiple reference numbers found, it may be possible to narrow the search with
additional data.
152100 Hard Enter shipper number -–additional shippers used the reference
152315 Hard Multiple reference numbers found, it is not possible to qualify further.
154070 Hard Signature Tracking Options not available without successful login
154083 HARD Specific Tracking data could not be found. It may be possible to narrow the search with
additional data.
154086 Hard Missing origin country code when origin postal code is supplied
9150001 Hard Invalid access license number for tracking request option
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 57
UPS Tracking Web Service Developer Guide September 13,2023
Alert Codes
Code Description
154081 Your search returned multiple Shipments. Please select from the provided results.
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 58
UPS Tracking Web Service Developer Guide September 13,2023
Accessorial Codes
01 -–Signature Required
02 -–Adult Signature Required
03 -–Import Control
04 -–Commercial Invoice Removal
05 -–UPS Carbon Neutral
06 -–USPS PIC Number Of Flexible Return Shipment (The value tag is populated)
07 -–Product Type (This may have additional attributes populated for product type code and description)
08 -–Location Assured
09 – Exchange Based
10 – Packand Collect
030 – Hazardous Material Dangerous Goods
035 – Saturday Pickup
036 – Saturday Delivery
039 – Declared Value Insurance
043 – Customized Delivery Confirm.
058 -–Hold for Pickup
209 – Dry Ice
229 – Carbon Neutral Shipment
232 – UPS Returns Exchange (Forward MVMT)
233 – UPS Ret Pack and Collect
234 – UPS Returns Exchange Print Label
254 -–Lift Gate Service for Delivery
255 -–Lift Gate Service for Pickup
256 -–Drop Off At Facility
259 -–Direct to Retail
261 -–Deliver to Addressee only
262 -–Deliver to Retail COD
263 -–Retail to Retail Shipment
426 -–Direct Delivery Only
427 -–Infectious Substance Category A
428 -–Package Release Code
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 59
UPS Tracking Web Service Developer Guide September 13,2023
Country/Territory Codes
Tracking API Supported Countries/Territories
UPS country/territory code abbreviations generally follow the recommendations of the International Standards
Organization (ISO), which publishes a list of country or territory abbreviations in ISO Standard 3166.
The following table lists the country or territory codes defined by ISO at the time of this publication. The latest
information is available from the ISO web site: http://www.iso.org/.
NOTE: Not all UPS services are available in every country/territory. Refer to the UPS Rate and Service Guide at
UPS.com for more information on UPS services.
Åland Islands AX
Albania AL Yes
Algeria DZ
American Samoa AS
Andorra AD Yes
Angola AO
Anguilla AI Yes
Antarctica AQ
Armenia AM
Aruba AW
Azerbaijan AZ
Bahamas BS Yes
Bahrain BH Yes
Bangladesh BD
Barbados BB
Belarus BY
Belize BZ
Benin BJ
Bhutan BT
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 60
UPS Tracking Web Service Developer Guide September 13,2023
Botswana BW
Bouvet Island BV
Brunei Darussalam BN
Bulgaria BG Yes
Burkina Faso BF
Burundi BI
Cambodia KH
Cameroon CM
Cape Verde CV
Chad TD
Christmas Island CX
Comoros KM
Congo CG
Cook Islands CK
Côte Divoire CI
Croatia HR Yes
Cuba CU
Cyprus CY Yes
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 61
UPS Tracking Web Service Developer Guide September 13,2023
Djibouti DJ
Dominica DM
Egypt EG Yes
Equatorial Guinea GQ
Eritrea ER
Estonia EE Yes
Ethiopia ET
Faroe Islands FO
Fiji FJ
French Guiana GF
French Polynesia PF
Gabon GA
Gambia GM
Georgia GE
Ghana GH
Gibraltar GI
Greenland GL
Grenada GD Yes
Guadeloupe GP
Guam GU
Guinea GN
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 62
UPS Tracking Web Service Developer Guide September 13,2023
Guyana GY
Haiti HT Yes
Iceland IS Yes
Iraq IQ
Isle of Man IM
Jamaica JM Yes
Jordan JO
Kazakhstan KZ
Kenya KE
Kiribati KI
Kuwait KW Yes
Kyrgyzstan KG
Latvia LV Yes
Lebanon LB Yes
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 63
UPS Tracking Web Service Developer Guide September 13,2023
Liberia LR
Liechtenstein LI Yes
Lithuania LT Yes
Luxembourg LU Yes
Madagascar MG
Malawi MW
Maldives MV
Mali ML
Malta MT Yes
Marshall Islands MH
Martinique MQ Yes
Mauritania MR
Mauritius MU
Mayotte YT
Micronesia, Federated FM
States of
Moldova, Republic of MD
Monaco MC Yes
Mongolia MN
Montenegro ME Yes
Montserrat MS Yes
Morocco MA
Mozambique MZ
Myanmar MM
Namibia NA
Nauru NR
Nepal NP
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 64
UPS Tracking Web Service Developer Guide September 13,2023
Netherlands Antilles AN
New Caledonia NC
Niger NE
Nigeria NG Yes
Nigeria NG
Niue NU
Norfolk Island NF
Oman OM Yes
Pakistan PK Yes
Palau PW Yes
Palestinian Territory, PS
Occupied
Pitcairn PN
Qatar QA Yes
Réunion RE
Rwanda RW
Saint Helena SH
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 65
UPS Tracking Web Service Developer Guide September 13,2023
Samoa WS
Senegal SN
Serbia RS Yes
Seychelles SC
Sierra Leone SL
Slovakia SK Yes
Slovenia SI Yes
Solomon Islands SB
Somalia SO
Sudan SD
Suriname SR Yes
Swaziland SZ
Tajikistan TJ
Timor-Leste TL
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 66
UPS Tracking Web Service Developer Guide September 13,2023
Tokelau TK
Tonga TO
Tunisia TN Yes
Turkmenistan TM
Tuvalu TV
Uganda UG
Ukraine UA Yes
Uzbekistan UZ
Vanuatu VU
Western Sahara EH
Yemen YE
Zambia ZM
Zimbabwe ZW
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 67
UPS Tracking Web Service Developer Guide September 13,2023
Currency Codes
UPS currency code abbreviations generally follow the recommendations of the International Standards Organization
(ISO), which publishes a list of currency abbreviations in ISO Standard 4217. The following table lists the currency
codes defined by ISO at the time of this publication. The latest information is available from the ISO web site:
http://www.iso.org/.
Countries/Territories may sometimes change their official currency. UPS does require time after the introduction of a
new currency before it can fully support that currency. In addition, UPS may continue to support the older currency for
an interim period in order to provide backwards compatibility.
UPS may also require the use of currencies other than the official currency for some countries/Territories.
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 68
UPS Tracking Web Service Developer Guide September 13,2023
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 69
UPS Tracking Web Service Developer Guide September 13,2023
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 70
UPS Tracking Web Service Developer Guide September 13,2023
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 71
UPS Tracking Web Service Developer Guide September 13,2023
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 72
UPS Tracking Web Service Developer Guide September 13,2023
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 73
UPS Tracking Web Service Developer Guide September 13,2023
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 74
UPS Tracking Web Service Developer Guide September 13,2023
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 75
UPS Tracking Web Service Developer Guide September 13,2023
005 In Transit
011 Delivered
013 Exception
038 Picked Up
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 76
UPS Tracking Web Service Developer Guide September 13,2023
Code Description
039 In Transit by Post Office
046 Delay
047 Delay
048 Delay
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 77
UPS Tracking Web Service Developer Guide September 13,2023
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 78
UPS Tracking Web Service Developer Guide September 13,2023
Mail Innovations
91 -–USPS PIC
93 -–USPS (30 char, truncated barcode number)
94 – Mail Manifest System Number (MMS)
95 -–Mail Manifest ID (MMI)
96 -–Mail Innovations (reference number, customer package id (PID))
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 79
UPS Tracking Web Service Developer Guide September 13,2023
Request Option Proof of Delivery COD Info Receiver Address All Activity Last Activity
0 X
1 X
2 X X X
3 X X X
4 X X X
5 X X X
6 X X X X
7 X X X X
activity X
none X
blank or empty X
Request Option Proof of Delivery COD Info Receiver Address All Activity Last Activity Sig Image
8 X X X
9 X X X
10 X X X X
11 X X X X
12 X X X X
13 X X X X
14 X X X X X
15 X X X X X
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 80
UPS Tracking Web Service Developer Guide September 13,2023
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 81
UPS Tracking Web Service Developer Guide September 13,2023
Service Codes
United States
Shipments originating in United States
Description Code
UPS 3 Day Select 012
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 82
UPS Tracking Web Service Developer Guide September 13,2023
Canada
Description Category Code
UPS 3 Day Select Shipments originating in Canada 012
European Union
Shipments originating in the European Union
Description Code
UPS Expedited 008
Mexico
Shipments originating in Mexico
Description Code
UPS Expedited 008
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 83
UPS Tracking Web Service Developer Guide September 13,2023
Poland
Description Code
UPS Expedited 008
Puerto Rico
Shipments originating in Puerto Rico
Description Code
UPS 2nd Day Air 002
Undefined Countries/Territories
Use for all countries other than United States, Canada, European Union, Mexico, Poland, and Puerto Rico
Description Code
UPS Express 007
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 84
UPS Tracking Web Service Developer Guide September 13,2023
All Countries/Territories
Shipments originating in all countries
Description Code
UPS® Worldwide Economy DDU 017
Mail Innovations
Description Code
UPS Mail Innovations 701
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 85
UPS Tracking Web Service Developer Guide September 13,2023
United States
State Code
Alaska AK
Alabama AL
Arkansas AR
Arizona AZ
California CA
Colorado CO
Connecticut CT
District of Columbia DC
Delaware DE
Florida FL
Georgia GA
Hawaii HI
Iowa IA
Idaho ID
Illinois IL
Indiana IN
Kansas KS
Kentucky KY
Louisiana LA
Massachusetts MA
Maryland MD
Maine ME
Michigan MI
Minnesota MN
Missouri MO
Mississippi MS
Montana MT
North Carolina NC
North Dakota ND
Nebraska NE
New Hampshire NH
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 86
UPS Tracking Web Service Developer Guide September 13,2023
State Code
New Jersey NJ
New Mexico NM
Nevada NV
New York NY
Ohio OH
Oklahoma OK
Oregon OR
Pennsylvania PA
Rhode Island RI
South Carolina SC
South Dakota SD
Tennessee TN
Texas TX
Utah UT
Virginia VA
Vermont VT
Washington WA
Wisconsin WI
West Virginia WV
Wyoming WY
Canada
Province Code
Alberta AB
British Columbia BC
Manitoba MB
New Brunswick NB
Nova Scotia NS
Northwest Territories NT
Nunavut NU
Ontario ON
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 87
UPS Tracking Web Service Developer Guide September 13,2023
Province Code
Quebec QC
Saskatchewan SK
Yukon Territory YT
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 88
UPS Tracking Web Service Developer Guide September 13,2023
Subversion details
UPS uses sub version strategy to give back new elements in the SOAP Webservice response when there is no
functionality change in the request. In order to ensure that we do not break the SOAP Webservice client’s application,
we give back the new elements only when the subversion is specified in the request.
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 89
UPS Tracking Web Service Developer Guide September 13,2023
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 90
UPS Tracking Web Service Developer Guide September 13,2023
Locale codes
The following table lists all supported locale codes (country/territory and language combination). Refer to the
Country/Territory Codes Appendix section for Country/Territory details.
Locale is accepted in below format Example: - Locale - en_US means ‘LanguageCode_CountryCode’
Locale Code
bg_BG
cs_CZ
da_DK
de_AT
de_CH
de_DE
el_CY
el_GR
en_AE
en_AG
en_AI
en_AL
en_AR
en_AT
en_AU
en_AW
en_AZ
en_BA
en_BB
en_BD
en_BE
en_BG
en_BH
en_BL
en_BM
en_BO
en_BQ
en_BR
en_BS
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 91
UPS Tracking Web Service Developer Guide September 13,2023
Locale Code
en_CA
en_CB
en_CH
en_CI
en_CL
en_CN
en_CO
en_CR
en_CW
en_CY
en_CZ
en_DE
en_DK
en_DM
en_DO
en_DZ
en_EC
en_EE
en_EG
en_ES
en_EU
en_FI
en_FR
en_GB
en_GD
en_GH
en_GI
en_GP
en_GR
en_GT
en_GY
en_HK
en_HN
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 92
UPS Tracking Web Service Developer Guide September 13,2023
Locale Code
en_HR
en_HT
en_HU
en_ID
en_IE
en_IL
en_IN
en_IT
en_JM
en_JO
en_JP
en_KE
en_KN
en_KR
en_KW
en_KY
en_KZ
en_LB
en_LC
en_LT
en_LU
en_LV
en_MA
en_MD
en_MO
en_MS
en_MT
en_MU
en_MX
en_MY
en_NG
en_NI
en_NL
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 93
UPS Tracking Web Service Developer Guide September 13,2023
Locale Code
en_NO
en_NZ
en_OM
en_PA
en_PE
en_PH
en_PK
en_PL
en_PR
en_PT
en_PY
en_QA
en_RE
en_RO
en_RS
en_RU
en_SA
en_SE
en_SG
en_SI
en_SK
en_SR
en_ST
en_SV
en_SX
en_TH
en_TN
en_TR
en_TT
en_TW
en_UA
en_US
en_UY
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 94
UPS Tracking Web Service Developer Guide September 13,2023
Locale Code
en_VC
en_VE
en_VG
en_VI
en_VN
en_ZA
en_ZW
es_AR
es_BO
es_CL
es_CO
es_CR
es_DO
es_EC
es_ES
es_GT
es_HN
es_MX
es_NI
es_PA
es_PE
es_PR
es_PY
es_SV
es_US
es_UY
es_VE
et_EE
fi_FI
fr_BE
fr_CA
fr_CH
fr_DZ
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 95
UPS Tracking Web Service Developer Guide September 13,2023
Locale Code
fr_FR
fr_LU
fr_MA
fr_TN
he_IL
hu_HU
it_IT
ja_JP
ko_KR
lt_LT
lv_LV
nl_BE
nl_NL
no_NO
pl_PL
pt_BR
pt_PT
ro_RO
ru_RU
sk_SK
sv_SE
tr_TR
vi_VN
zh_CN
zh_HK
zh_MO
zh_TW
© 2022 United Parcel Service of America, Inc. All Rights Reserved. Confidential and Proprietary 96