TOP

SearchInventory()

Part Of: Inventory Webservice 3.0

WSDL:

https://webservices.vin65.com/V300/InventoryService.cfc?wsdl

Australian URL:

https://webservices.aus.vin65.com/V300/InventoryService.cfc?wsdl

Description:

Use the SearchInventory() function to search inventory inside Vin65. Required fields are indicated by a '*'

Parameters:

Attribute Data Type Default Description
WebsiteIDs UUID List   Available for Enterprise Webservices
Comma seperated list of WebsiteIDs in Enterprise
Leave blank for all Websites
SKU String 50    
InventoryPool String 50    
InventoryPoolID UUID    
Filter Enumerated
("AllSKUs", "OnlySKUsWithInventoryOn")
   
MaxRows Integer 100  
Page Integer  

Sample Request:

<soap:Envelope xmlns:soap="https://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="https://www.w3.org/2001/XMLSchema">
<soap:Body> 
  <SearchInventory>
    <Request>
      <Security>
        <Username>//Your Username//</Username>
        <Password>//Your Password//</Password>
      </Security>
      <WebsiteIDs></WebsiteIDs>
      <SKU></SKU>
      <InventoryPool></InventoryPool>
      <InventoryPoolID></InventoryPoolID>
      <Filter>OnlySKUsWithInventoryOn</Filter>
      <MaxRows>100</MaxRows>
      <Page>1</Page>
    </Request>
  </SearchInventory>
</soap:Body>
</soap:Envelope>  

Sample Response:

<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="https://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="https://www.w3.org/2001/XMLSchema" xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
  <SearchInventoryResponse>
    <SearchInventoryReturn>
      <Errors></Errors>
      <IsSuccessful>true</IsSuccessful>
      <Inventory>
        <Inventory> 
          <CurrentInventory>12</CurrentInventory>
          <InventoryPool>Default</InventoryPool>
          <InventoryPoolID>b5635061-bf13-7c4c-3860-ab89d5d598cc</InventoryPoolID>
          <SKU>09MER</SKU>
          <WebsiteID>66272648-1e0b-4e34-f09b-81477a31b25f</WebsiteID>
        </Inventory>
        <Inventory>
          <CurrentInventory>5000</CurrentInventory>
          <InventoryPool>Default</InventoryPool>
          <InventoryPoolID>b5635061-bf13-7c4c-3860-ab89d5d598cc</InventoryPoolID>
          <SKU>123testsku</SKU>
          <WebsiteID>66272648-1e0b-4e34-f09b-81477a31b25f</WebsiteID>
        </Inventory>
        <Inventory>
          <CurrentInventory>4999</CurrentInventory>
          <InventoryPool>Default Warehouse Location</InventoryPool>
          <InventoryPoolID>b5635061-bf13-7c4c-3860-ab89d5d598cc</InventoryPoolID>
          <SKU>12738743</SKU>
          <WebsiteID>66272648-1e0b-4e34-f09b-81477a31b25f</WebsiteID>
        </Inventory>
        <Inventory>
          <CurrentInventory>0</CurrentInventory>
          <InventoryPool>Default Warehouse Location</InventoryPool>
          <InventoryPoolID>b5635061-bf13-7c4c-3860-ab89d5d598cc</InventoryPoolID>
          <SKU>2008 Pinot Grigio</SKU>
          <WebsiteID>66272648-1e0b-4e34-f09b-81477a31b25f</WebsiteID>
        </Inventory>
      </Inventory>
      <RecordCount>4</RecordCount>
    </SearchInventoryReturn>
  </SearchInventoryResponse>
</soapenv:Body>
</soapenv:Envelope>   

Page Top