Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8993537
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T23:12:46+00:00 2026-06-15T23:12:46+00:00

I am building a shipping rates calculator and I need the service code, description

  • 0

I am building a shipping rates calculator and I need the service code, description and price from the API response. I have noticed that I never get a response for:
/RatingServiceSelectionResponse/RatedShipment/Service/Description – but I get a response for the price and service code.

I contacted support about this and they said:

" Unfortunately, the description for the service (inside of the response) is only available in our Time in Transit API"

This seems very strange to have an Rates API that does not provide the service descriptions, it seems a bit useless without this info.

Does anyone know if there any way to do a lookup for the service description using the service code that is brought back from the Rates API?

Any help with this would be much appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T23:12:47+00:00Added an answer on June 15, 2026 at 11:12 pm

    The codes are found in Appendix E of the Rating Package Web Services Developers Guide.

    I’ve had similar frustration with the UPS API’s.
    You’re right – the …Service/Description is blank in the Rate service’s response. So, you have to go with the …Service/Code value and write your own code-description map based on those codes.

    For example, here are the values I mapped out in a Perl script:

    %ups_service_code   = (
        '01'    => 'UPS Next Day Air',
        '02'    => 'UPS 2nd Day Air',
        '03'    => 'UPS Ground',
        '07'    => 'UPS Worldwide Express',
        '08'    => 'UPS Worldwide Expedited',
        '11'    => 'UPS Standard',
        '12'    => 'UPS 3 Day Select',
        '13'    => 'UPS Next Day Air Saver',
        '14'    => 'UPS Next Day Air Early A.M.',
        '54'    => 'UPS Worldwide Express Plus',
        '59'    => 'UPS 2nd Day Air A.M.',
        '65'    => 'UPS Saver',
        ## 82-86 are Polish Domestic Shipments
        '82'    => 'UPS Today Standard',
        '83'    => 'UPS Today Dedicated Courier',
        '84'    => 'UPS Today Intercity',
        '85'    => 'UPS Today Express',
        '86'    => 'UPS Today Express Saver'
    );
    

    Now, what’s REALLY frustrating is that when you implement the TimeInTransit (TNT) service, you find that it returns the descriptions but no codes!
    But what I found is that the descriptions returned by the TNT service match the descriptions of the Rate codes from the developer guide (in example above). So, that’s the way I’ve ended up matching TNT data with Rate data.

    Hope this helps!

    UPDATE:
    For TransitInTime request you can find the codes in the Time in Transit documentation look at the end of the PDF section “Service Codes”.
    This codes anyway are different from the ones used in the rate so you have to create another map for that.

    This is an example

    /* Mapping for destination within the origin country */
            $SCmappings = array(
                '23' => '54',   /* UPS Express Plus                     */
                '24' => '07',   /* UPS Express                          */
                '25' => '11',   /* UPS Standard                         */
                '26' => '65',   /* UPS Express Saver                    */
                '39' => '70'    /* UPS Access Point Economy             */
            );
    
            /* Mapping for destination within the European Union */
            $EUmappings = array(
                '08' => '11',   /* UPS Standard                         */
                '10' => '07',   /* UPS Express                          */
                '18' => '65',   /* UPS Express Saver                    */
                '22' => '54',   /* UPS Express Plus                     */
                '29' => '08',   /* UPS Express Freight - UPS Expedited  */
                '39' => '70'    /* UPS Access Point Economy             */
            );
    
            /* Mapping for destination outside the European Union */
            $nonEUmappings = array(
                '01' => '07',   /* UPS Worldwide Express                */
                '05' => '08',   /* UPS Worldwide Expedited              */
              //  '11' => '???',   /* UPS Express NA 1                     */
                '21' => '54',   /* UPS Worldwide Express Plus           */
                '28' => '65',   /* UPS Worldwide Express Saver          */
                '29' => '11',   /* UPS Express Freight - UPS Standard   */
                '39' => '70'    /* UPS Access Point Economy             */
            );
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Im building a shipping calculator for fedex which is working fine when i need
I'm building a commission report that needs to include custom shipping rates if they
We're building a online-store/site for a winery, and they have a matrix/table of shipping
I have a semi-complicated select statement that's building a custom column in a query,
I am building an e-store and I need to have the ability to add
I have a Visual Studio 2010 MVC2 web application that I'm building via the
Building an inventory system. I have lots of products and each product has three
building a site using PHP and MySQL that needs to store a lot of
Building a website that has English & Japanese speaking users, with the Japanese users
Building my first SL MVVM application (Silverlight4 RC) and have some issues i don't

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.