Update Inventory

This method updates inventory. The client makes a POST request providing input parameters CompanyID and LanguageID. The output will be either in json or xml format depending on the request type.

Name Value
REST-API METHOD UPDATE INVENTORY
HTTP METHOD POST
RESPONSE TYPE XML
URL https://api.csm.next4biz.net/services/InventoryService/{CompanyID}/updateinventory.xml/{BusinessChannelID}/{LangID}
REQUEST HEAD Authorization: Basic {base64 encoded username:password} Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Content-Type: application/xml
REQUEST BODY
                                            
                                                <Inventory>
	<InventoryId>{InventoryId}</InventoryId>
	<InventoryFieldValues>
		<InventoryFieldValue>
			<InventoryFieldId>{InventoryFieldId}</InventoryFieldId>
			<Value>{InventoryFieldId}</Value>
		</InventoryFieldValue>
	</InventoryFieldValues>
	<InventoryTypeId>{InventoryTypeId}</InventoryTypeId>
</Inventory>                                            
                                        
RESPONSE BODY
                                            
                                                <?xml version="1.0" encoding="utf-8"?>
<string>Success</string>