Tracking Update
Overview
Our Tracking Update API lets you get the current status of orders submitted to Shipwire.
Information available from the Tracking Update API includes:
- The date an order shipped
- Carrier and tracking information
- Expected delivery date
- Breakdown of order costs (including shipping, handling, packaging, and insurance costs)
- Whether the order was returned and the condition in which it was returned
- Whether the order has been manually edited since being submitted
Integrating with the Tracking Update API can drastically reduce customer service inquiries about orders.
API Endpoints
Sandbox
https://api.beta.shipwire.com/exec/TrackingServices.php
Production
https://api.shipwire.com/exec/TrackingServices.php
Example Request
POST /exec/TrackingServices.php Content-Type: application/xml
1 2 3 4 5 6 7 8 | <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE TrackingUpdate SYSTEM "http://www.shipwire.com/exec/download/TrackingUpdate.dtd"> <TrackingUpdate> <Username>api_user@example.com</Username> <Password>yourpassword</Password> <Server>Test</Server> <Bookmark>1</Bookmark> </TrackingUpdate> |
Example Response
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 | <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE TrackingUpdateResponse SYSTEM "http://www.shipwire.com/exec/download/TrackingUpdateResponse.dtd"> <TrackingUpdateResponse> <Status>0</Status> <Order id="40298" shipped="NO" shipper="" shipDate="2011-03-14 11:11:40" expectedDeliveryDate="2011-03-22 00:00:00" returned="NO" href="https://app.shipwire.com/c/t/xxx1:yyy1" affiliateStatus="canceled" manuallyEdited="NO"/> <Order id="40298" shipped="YES" shipper="USPS FC" shipperFullName="USPS First-Class Mail Parcel + Delivery Confirmation" shipDate="2011-03-15 10:40:06" expectedDeliveryDate="2011-03-22 00:00:00" handling="0.00" shipping="4.47" packaging="0.00" total="4.47" returned="YES" returnDate="2011-05-04 17:33:25" returnCondition="GOOD" href="https://app.shipwire.com/c/t/xxx1:yyy2" affiliateStatus="shipwireFulfilled" manuallyEdited="NO"> <TrackingNumber carrier="USPS" href="http://trkcnfrm1.smi.usps.com/PTSInternetWeb/InterLabelInquiry.do?origTrackNum=9400110200793472606087"> 9400110200793472606087</TrackingNumber> </Order> <Order id="40298" shipped="YES" shipper="USPS FC" shipperFullName="USPS First-Class Mail Parcel + Delivery Confirmation" shipDate="2011-04-08 09:33:10" expectedDeliveryDate="2011-04-15 00:00:00" handling="0.00" shipping="4.47" packaging="0.00" total="4.47" returned="NO" href="https://app.shipwire.com/c/t/xxx1:yyy3" affiliateStatus="shipwireFulfilled" manuallyEdited="NO"> <TrackingNumber carrier="USPS" href="http://trkcnfrm1.smi.usps.com/PTSInternetWeb/InterLabelInquiry.do?origTrackNum=9400110200793596422990"> 9400110200793596422990</TrackingNumber> </Order> <TotalOrders>3</TotalOrders> <TotalShippedOrders>2</TotalShippedOrders> <TotalProducts>8</TotalProducts> <Bookmark>2011-10-22 14:13:16</Bookmark> </TrackingUpdateResponse> |
Additional Resources |
Test FormXML Documentation |