This REST service allows our partners to retrieve tracking details on the MailPlus (e-Commerce) items.
Your client must use GET HTTP method to successfully retrieve your track information. You may use JSONP to retrieve your data as well.
The service URL is:
https://api.pactrak.com/mailplus/events
You can retrieve the tracking data RESTFully for a given track number such as: LX112300950US with the URL
https://api.pactrak.com/mailplus/events/LX112300950US
or as a parameter named trackNumbers:
https://api.pactrak.com/mailplus/events?trackNumbers=LX112300950US
You may also request the order of the track results in ascending order, by appending '_ascending' to the URL as a parameter:
https://api.pactrak.com/mailplus/events/LX112300950US?_ascending
The parameter trackNumbers accepts a "\n" delimited list of tracking numbers to track. There is a limit of 10 numbers.
You may also change the source of the tracking events to the USPS tracking service by adding "_usps" to the end of your track URL.
https://api.pactrak.com/mailplus/events/LX112300950US?_usps
After making a successful submission you should expect a return of one of the following JSON structures:
Successful JSON response
trackResults structure: The following structure is the definition of the trackResults object
Event Structure: The following structure is the definition of the Event object.