Our Inventory Update API allows you to get real-time inventory information for products in Shipwire’s warehouses or in your own locations. You can query inventory globally, by country, or in a specific warehouse.
Information available from the Inventory Update API includes
Stock Counts
Inventory in stock
Inventory expected to arrive
Backordered inventory
Inventory reserved for orders
Inventory currently shipping
Stock Statistics
Expected inventory availability date
Units shipped recently
Units ordered recently
API Endpoints
Sandbox
https://api.beta.shipwire.com/exec/InventoryServices.php
Production
https://api.shipwire.com/exec/InventoryServices.php
Example Request
POST /exec/InventoryServices.php
Content-Type: application/xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE InventoryUpdate SYSTEM "http://www.shipwire.com/exec/download/InventoryUpdate.dtd">
<InventoryUpdate>
<Username>api_user@example.com</Username>
<Password>yourpassword</Password>
<Server>Test</Server>
</InventoryUpdate>
Example Response
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE InventoryUpdateResponse SYSTEM "http://www.shipwire.com/exec/download/InventoryUpdateResponse.dtd">
<InventoryUpdateResponse>
<Status>Test</Status>
<Product code="GD802-024"
quantity="14"
good="14"
pending="300"
backordered="0"
reserved="15"
shipping="7"
shipped="7013"
consuming="0"
consumed="0"
creating="0"
created="0"
availableDate="2012-01-19"
shippedLastDay="13"
shippedLastWeek="84"
shippedLast4Weeks="401"
orderedLastDay="15"
orderedLastWeek="99"
orderedLast4Weeks="416" />
<Product code="GD201-500"
quantity="32"
good="32"
pending="500"
backordered="0"
reserved="17"
shipping="0"
shipped="1997"
consuming="0"
consumed="0"
creating="0"
created="0"
availableDate="2012-02-21"
shippedLastDay="11"
shippedLastWeek="74"
shippedLast4Weeks="221"
orderedLastDay="19"
orderedLastWeek="90"
orderedLast4Weeks="242" />
<TotalProducts>2</TotalProducts>
<ProcessingTime units="ms">221</ProcessingTime>
</InventoryUpdateResponse>
Additional Resources
Test Form
XML Documentation