The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

ups_tracking - Access UPS tracking webservice from the commandline

SYNOPSIS

ups_tracking [options]

 Options:
    --verbose                           Be verbose
    --config                            UPS tracking webservice access config file
    --help                              Display help text
    
    --TrackingNumber                    Shipment tracking number
    --ShipperNumber                     Shipper UPS customernumber
    --ShipmentIdentificationNumber      Shipment identification number
    --ReferenceNumber                   Shipment reference number
    --ShipmentType                      Shipment type ["01" - Small shipment (Default), "02" - Freight ]
    --PickupDateRangeBegin              Shipment pickup date range begin
    --PickupDateRangeEnd                Shipment pickup date range end
    --DestinationPostalCode             Shipment destination postal code
    --DestinationCountryCode            Shipment destination country code
    --OriginPostalCode                  Shipment origin postal code
    --OriginCountryCode                 Shipment origin country code

DESCRIPTION

This is the command-line program to use Business::UPS::Tracking. See the Business::UPS::Tracking, Business::UPS::Tracking::Request and Business::UPS::Tracking::Commandline documentation for more details.

In order to use this tool you need to obtain a "Tracking WebService" license key. See http://www.ups.com/e_comm_access/gettools_index for more information.

The license data needs to be stored in the UPS tracking webservice access config file, which should be located at ~/.ups_tracking

 <?xml version="1.0"?>
 <UPS_tracing_webservice_config>
    <AccessLicenseNumber>1CFFED5A5E91B17</AccessLicenseNumber>
    <UserId>myupsuser</UserId>
    <Password>secret</Password>
 </UPS_tracing_webservice_config>