The following URL will allow you to query inventory :

    https://secure.postnatus.com/lomacs/xml/query_inventory?client=client_code&product_id=product_id

where client_code is your Logistech client code (given to you by your CSR) and product_id is thte stock number of the product.

If successful, this query should return an XML document with inventory information with the format described in the inventory schema description. Otherwise, it will return an <error> element.

Example Query

The following example shows the process of querying inventory :

URL: https://secure.postnatus.com/lomacs/xml/query_inventory?client=1234&product_id=XYZ-9999

Returns:
<?xml version="1.0"?>
<product>
  <product_id>XYZ-9999</product_id>
  <description>Widget Oil</description>
  <quantity>
    <in_stock>726</in_stock>
    <on_order>99</on_order>
  </quantity>
</product>