Questions tagged [ups]

UPS stands for United Parcel Service and is an international shipping-company. Questions tagged with UPS usually refer to the UPS Developer Kit. The UPS Developer Kit is used to integrate UPS functionality directly into business systems and e-commerce websites using 11 different APIs.

The UPS Developer Kit is used to integrate UPS functionality directly into business systems and e-commerce websites using 11 different APIs. Two types of APIs exist, both using . The first type uses straight , while the other uses and .

287 questions
70
votes
20 answers

Regular Expression patterns for Tracking numbers

Does anybody know good place or patterns for checking which company tracking number is the given tracking number for a package. Idea is After scanning a barcode for a package check tracking number with patterns and show which company it was shipped…
Bob
18
votes
3 answers

Tracking API for Fedex and UPS

Is there any JavaScript API available for tracking Fedex and UPS packages?
Harshal_m_joshi
  • 1,489
  • 1
  • 16
  • 27
13
votes
7 answers

UPS API OAuth token request fails

In the UPS developer portal, I have created an application that has a Client Id and a Client Secret. Next, I want to obtain an OAuth token so I can use it to access their other APIs. I am creating my token request as per the spec and I am receiving…
12
votes
1 answer

Determining package dimensions for UPS Shipping Rate API

I am coding a custom commerce CMS in PHP. I have been integrating the UPS XML API for getting Shipping Rates and currently have it working. I am using Mark Sandborn's PHP class http://code.google.com/p/ups-php/ The API requires input of the final…
filip
  • 3,036
  • 4
  • 22
  • 20
11
votes
3 answers

UPS Test Tracking Numbers (is there a such thing?)

I finally got the UPS tracking API to work. Or atleast I think I do. It is giving me a 'invalid tracking number' response. My problem right now is I have no packages to track. Does anyone know of any resources that allow me to test fake orders from…
numerical25
  • 10,524
  • 36
  • 130
  • 209
10
votes
4 answers

UPS API PHP - End point URL

I have downloaded a PHP SDK for the UPS API. I have the following code and have no idea what an end point URL is. The documentation does not provide any information on what this is. //Configuration $access = "0C81234564C2567"; $userid =…
LeeTee
  • 6,401
  • 16
  • 79
  • 139
9
votes
3 answers

UPS Tracking API - JSON body format?

According to the latest release of the UPS developer kit documentation "Tracking Web Services Developers Guide - January 04, 2016" the tracking API can be accessed via REST / JSON. However, there is very little information within their PDF…
Dan
  • 1,450
  • 3
  • 12
  • 18
8
votes
2 answers

Getting "Authentication failed because the remote party has closed the transport stream." while making API call to UPS tracking Rest service

I am implementing UPS tracking API in my asp.net mvc 5 application. I created below method. public virtual Core.UPSTrackingResponse.UPSTrackingResponse TrackUPS(string trackingNumber) { Core.UPSTrackingRequest.UPSTrackingRequest requestModal =…
Jitendra Pancholi
  • 7,897
  • 12
  • 51
  • 84
7
votes
1 answer

UPS Shipping Tutorial (PHP)

I finally managed to set up an UPS shipment XML request and I would like to share it with other people struggling with it. So here is a complete PHP object oriented valid XML according to newest documentation from 2017. Im doing this because there…
7
votes
2 answers

UPS API .Net Add Web Reference

Using the API package here: https://www.ups.com/gec/techdocs/pdf/Rates_Pkg_Gnd.zip Added the reference to RateWS.wsdl by: -Right click on website project -> Add Service Reference -In the address field input: file://C:\Users\MyUser\Desktop\UPS…
Tomas Beblar
  • 468
  • 4
  • 18
7
votes
2 answers

UPS Shipping API - ShipmentConfirmRequest Error

Hello I am creating a wordpress website for a client using WooCommerce. The site is complete but the client wants the ability to create shipments from the shop_order page. I have most of this figured out, the problem is my XML request to the UPS…
Jusmark123
  • 213
  • 1
  • 3
  • 11
7
votes
1 answer

Convert EPL image to PDF?

I am using the UPS API to generate EPL labels to print on our thermal printer, which is working perfectly using CUPS and lpr. However, I would like to be able to save that label in a computer-renderable format: GIF, PDF, PostScript - anything,…
poundifdef
  • 18,726
  • 23
  • 95
  • 134
7
votes
2 answers

UPS Rates API - how to get service description

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…
LeeTee
  • 6,401
  • 16
  • 79
  • 139
6
votes
3 answers

Access licence number for 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 =…
Wazy
  • 8,822
  • 10
  • 53
  • 98
6
votes
2 answers

UPS Time in Transit service codes to Rating API

I'm working on a system that uses UPS as the main courier for our packaged orders. I've dsicovered a little weird issue using the UPS API. I take all the requests to the Time In Transit then select the best service the client prefers to…
MacMac
  • 34,294
  • 55
  • 151
  • 222
1
2 3
18 19