pixi Developer & Integration Documentation

pixiGetPhysicalItemStock

Warning: API call is no longer maintained!

Description

This function returns the physical stock (i.e., how many items is physically in stock) for the given item and given location.

Use pixiGetItemStock instead!


Request Parameters

# Name Type Required Example Description
1 ItemKey integer 0 123 [optional] Filter by item key. The default value is NULL.
2 EAN string 0 Sample text [optional] Filter by EAN. The default value is NULL.
3 ItemNrSuppl string 0 Sample text [optional] Filter by ItemNrSuppl. The default value is NULL.
4 ItemNrInt string 0 Sample text [optional] Filter by ItemNrInt. The default value is NULL.
5 LocationId string 0 A [optional] Location ID for the location you inquire the stock for. If the value does not indicate a valid location, the function returns NULL. The default value is NULL.

Request body

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:dem="https://api.pixi.eu/soap/demosandbox/">
   <soapenv:Header/>
   <soapenv:Body>
      <dem:pixiGetPhysicalItemStock>
         <dem:ItemKey>123</dem:ItemKey>
         <dem:EAN>Sample text</dem:EAN>
         <dem:ItemNrSuppl>Sample text</dem:ItemNrSuppl>
         <dem:ItemNrInt>Sample text</dem:ItemNrInt>
         <dem:LocationId>A</dem:LocationId>
      </dem:pixiGetPhysicalItemStock>
   </soapenv:Body>
</soapenv:Envelope>

Response


Body 1:

# Name Type Description
0 return integer Function returns an integer value of the physical stock for the given item and location, or NULL, if the item or location are not specified correctly

Additional Notes

<p>Use either of the parameters to identify the required Item. If the item cannot be found, the function returns NULL. If several different parameters are used to identify the item and they indicate different valid items, result of the function is undefined (but corresponds to the stock of one of these items).</p>