Inventory update

The inventory update service is an inbound service for WebSphere Commerce configurations in which an external inventory management system (IMS) is used. This service is called by the external IMS to update the local inventory cache in WebSphere Commerce in such configurations.

Requests to this service are in the form of UpdateInventoryBalance business object documents (BODs). This service does not return a response BOD.


Mapping

This service is mapped to the InventoryBalanceUpdate command. The following table describes how the UpdateInventoryBalance BOD will be mapped to the input parameters of this command:

XPath Input Parameter Mandatory Description
DataArea/InventoryBalance[i] this element describes the i-th local inventory cache entry to update
DataArea/InventoryBalance[i]/Item/ItemID/ID catEntryId_i n the WebSphere Commerce catalog entry ID of the entry
DataArea/InventoryBalance[i]/Item/SupplierItemID/ID partNumber_i n the part number (SKU) of the entry
DataArea/InventoryBalance[i]/GLEntityID storeId y the WebSphere Commerce store ID of the entry
DataArea/InventoryBalance[i]/Facility/IDs/ID fulfillmentCenterId_i y the WebSphere Commerce fulfillment center ID of the entry
DataArea/InventoryBalance[i]/AvailableQuantity inventoryQuantity_i y the quantity of the entry
DataArea/InventoryBalance[i]/AvailableQuantity/@unitCode UOM_i n the unit of measure (UOM) of the quantity above


Example

The following is a sample request:


WSDL

The WSDL file of this service can be found in the following JAR file:

Under the following path:


Related concepts
WebSphere Commerce Web services with JSP pages
Understanding the WebSphere Commerce Web service framework
Security and the WebSphere Commerce web service framework


Related tasks
Enable WebSphere Commerce as a service provider


Related reference
Inbound web services provided