- 08 Apr 2024
- 1 Minute to read
- Print
- DarkLight
- PDF
Inventory Service 3.0
- Updated on 08 Apr 2024
- 1 Minute to read
- Print
- DarkLight
- PDF
WSDL:
https://webservices.vin65.com/V300/InventoryService.cfc?wsdl
Australian URL:
https://webservices.aus.vin65.com/V300/InventoryService.cfc?wsdl
Methods:
SearchInventory()
Use this method to search across inventory.
UpdateInventory()
Use this method to update existing inventory.
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 | String 50 | Allowed values: AllSKUs, OnlySKUsWithInventoryOn | |
MaxRows | Integer | 100 | |
Page | Integer | 1 |
Sample Request:
<soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:v300="http://V300"> <soapenv:Header/> <soapenv:Body><v300:UpdateInventory soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> <Request xsi:type="upd:Request" xmlns:upd="http://updateInventory.inventory.V300"> <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> </v300:UpdateInventory> </soapenv:Body> </soapenv: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>
Update Inventory()
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 UpdateInventory() function to update the inventory of a SKU in Vin65.
Parameters:
Attribute | Data Type | Default | Description |
---|---|---|---|
WebsiteID | UUID* | Only required for Enterprise Webservices UUID of the Vin65 Website | |
SKU | String 50* | ||
CurrentInventory | Integer* | ||
InventoryPool | String 50* | Uses default pool if neither and InventoryPool or InventoryPoolID is specificed. | |
InventoryPoolID | UUID* | Uses default pool if neither and InventoryPool or InventoryPoolID is specificed. | |
Mode* | String | Strict |
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> <UpdateInventory> <Request> <Security> <Username>//Your Username//</Username> <Password>//Your Password//</Password> </Security> <Inventory> <SKU>Chardonnay</SKU> <CurrentInventory>1000</CurrentInventory> </Inventory> <Mode>Strict</Mode> </Request> </UpdateInventory> </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> <UpdateInventoryResponse> <UpdateInventoryReturn> <Errors></Errors> <IsSuccessful>true</IsSuccessful> <RecordCount>1</RecordCount> </UpdateInventoryReturn> </UpdateInventoryResponse> </soapenv:Body> </soapenv:Envelope>