# Inventory Services

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

\[gist id=3373929 file=shipwire-inventory-request-example.xml\]

## Example Response

\[gist id=3373929 file=shipwire-inventory-response-example.xml\]

|     |     |
| --- | --- |
| #### Additional Resources<br>- [Frequently Asked Questions](/content/developers/xml-real-time-inventory-faq/index.html)<br>- [Example: Inventory Update Request XML](https://gist.github.com/3373929#file_shipwire_inventory_request_example.xml)<br>- [Example: Inventory Update Response XML](https://gist.github.com/3373929#file_shipwire_inventory_response_example.xml) | #### Test Form<br>- Submit an inventory request [on production](https://api.shipwire.com/exec/InventoryServices_post.php), [on sandbox](https://api.beta.shipwire.com/exec/InventoryServices_post.php)<br>#### XML Documentation<br>- [DTD: InventoryUpdate](https://gist.github.com/3373986)<br>- [DTD: InventoryUpdateResponse](https://gist.github.com/3373989) |
