View Categories

UPS Labels – How to get API connection?

You can reach the plugin General settings by choosing the WooCommerce → Settings → Shipping → UPS Labels from the sidebar.

API Settings

Our plugin allows connecting via OAuth – REST API, Client Credentials – REST API or API Access Key – XML API. Regardless of which method you’ll choose, you need to register a UPS account to use the UPS shipping services.

You can switch between the API Type by selecting one in the dropdown list.

Ups Labels Select Api Type

OAuth – REST API

Client Credentials

We encourage using this type of connection to the UPS API:

Image

You can find the comprehensive guide about the connection in the UPS Live Rates PRO: How to get API connection (UPS Services).

Please, bear in mind, that additionally in this case, you would need to mark the following API:

Image 60

Auth Code

For this method, you only need to own a UPS Account.

Image

Press Authorize to be redirected to UPS.com site. Then please type your UPS email or usernamepassword and agree to connect our plugin with your account by checking the checkbox. Then click Log In.

Ups Oauth Log In

Once the OAuth connection is established, then you’ll see a Revoke button and the API Connection Status as a green OK.

Image

To disconnect your UPS account from our plugin, press Revoke.

Image

Optionally, if you use UPS SurePost shipping service, please fill in the UPS Account Number. If you don’t use UPS SurePost, leave this field empty.

Image

API Access Key – XML API

For this method, you need to own a UPS account with access to the API. If you haven’t gained the API access, please check our guide on how to get the UPS API Access Key →

Enter your credentials (User IDPasswordAccess Key and Account Number) in the plugin’s API Settings section fields below:

Ups Labels Xml Api

Test mode

– check this option to run the plugin in the test mode.

UPS User ID / UPS Password / UPS Access Key / UPS Account Number

– fill in these fields with the credentials you acquired during the UPS account registration process.

API connection status

– once your login credentials were entered and Save changes button hit, the API connection status should change to Connected and turn green.

If for some reason the plugin is not able to establish the connection with the UPS API, you will see the error message coming from the API with the detailed information on the cause of the problem, e.g.:

Ups Labels Api Connection Status Error
Scroll to Top