Created
August 16, 2012 21:51
-
-
Save evanr76/3373929 to your computer and use it in GitHub Desktop.
Shipwire: Inventory API Example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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>[email protected]</Username> | |
<Password>yourpassword</Password> | |
<Server>Test</Server> | |
</InventoryUpdate> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment