Inventory Update
Overview
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
1 2 3 4 5 6 7 | <?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
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 | <?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> </InventoryUpdateResponse> |
Additional Resources |
Test FormXML Documentation |