Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Access licence number for UPS

Tags:

php

ups

I am using Mark Sanborn UPS Function to calculate UPS shipping rates with php

In this function you have to change some values of variables already defined

 // ========== CHANGE THESE VALUES TO MATCH YOUR OWN ===========  

 $AccessLicenseNumber = '12345678910'; // Your license number  
 $UserId = 'username'; // Username  
 $Password = 'password'; // Password  
 $PostalCode = '12345'; // Zipcode you are shipping FROM  
 $ShipperNumber = '98765'; // Your UPS shipper number 

but I could not figure out my $AccessLicenseNumber for UPS account also my $ShipperNumber.

Please any one used this API give me a start.

Thanks in Advance.

like image 548
Wazy Avatar asked Sep 10 '10 11:09

Wazy


People also ask

How do I find my UPS access license number?

Access Key Show activity on this post. UserID and Password are the credentials you use for UPS.com and the shipper number is your UPS account number. The access license number is provided by UPS when you signup for the OnLine tools.

What is access key for UPS?

An Access Key provides your business access to UPS systems which hold the information you or your customers need to ship, track, or rate a package. An Access Key is required for access to all available HTML and XML versions of the Application Programming Interfaces (APIs).

How do I get UPS API?

Step 1: Sign up for a ups.com® profile or Log-in now. Step 2: Select an API. Step 3: Download the API documentation. Step 4: Request an access key.

Does UPS have an API?

The Locator API provides UPS full-service and self-service locations, hours of operation and pickup times.


1 Answers

Both of those values are issued by UPS when you request API credentials.

UPS credentials are made up of 4 distinct values- user id, password, access key (license number) and shipper number. Shipper number is optional, but including can affect which rates are returned.

UPS API credentials can be requested here: https://www.ups.com/upsdeveloperkit?loc=en_US

like image 52
Nathan Taylor Avatar answered Sep 27 '22 18:09

Nathan Taylor