https://webservices.vin65.com/V300/InventoryService.cfc?wsdl
https://webservices.aus.vin65.com/V300/InventoryService.cfc?wsdl
Use the UpdateInventory() function to update the inventory of a SKU in Vin65.
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 |
<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>
<?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>