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
<?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
<?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"
shipwireId="1234567890-1234567-1"
warehouse="Chicago"
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"
shipwireId="1234567890-1234568-1"
warehouse="Philadelphia"
shipped="YES"
shipper="USPS FC"
shipperFullName="USPS First-Class Mail Parcel + Delivery Confirmation"
shipDate="2011-03-15 10:40:06"
delivered="YES"
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"
delivered="YES"
deliveryDate="2011-03-21 17:10:00"
href="http://trkcnfrm1.smi.usps.com/PTSInternetWeb/InterLabelInquiry.do?origTrackNum=9400110200793472606087">
9400110200793472606087</TrackingNumber>
</Order>
<Order id="40298"
shipwireId="1234567890-1234569-1"
warehouse="Chicago"
shipped="YES"
shipper="USPS FC"
shipperFullName="USPS First-Class Mail Parcel + Delivery Confirmation"
shipDate="2011-04-08 09:33:10"
delivered="NO"
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"
delivered="NO"
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>
<ProcessingTime units="ms">1192</ProcessingTime>
</TrackingUpdateResponse>
Additional Resources
Test Form
XML Documentation