Inventory xC extension points
We can customize how WebSphere Commerce integrates with external inventory management systems, such as how WebSphere Commerce consumes inventory availability updates from external inventory management systems. The following table identifies the classes for inventory-related commands that we can customize through an externalized customization extension.
Extension point Where the extension point is used Request, Response formats Sample extension code location Sample CSV input files inventory_update The SyncInventoryAvailability service calls the inventory_update extension point to perform custom actions (for example, change the available quantities) before updating the inventory availability cache. ChangeInventoryAvailabilityBasePartExtCmdUEInput, ChangeInventoryAvailabilityBasePartExtCmdUEOutput The updateInventoryQuantity method in workspace_dir/commerceue-app/src/main/java/com/ibm/commerce/inventory/ue/rest/InventoryResource.java inventory_update
Sample input files for registering and assigning order xC extension points
Extension point Registering extension code with UEConfig.csv Assigning extension code to extension points with CmdReg.csv inventory_update
- Sample UEConfig_invupdate.csv
- Set UEConfigId column to a unique integer value.
- Set Url column to the URL of the extension code, relative to https://hostname:9443/commerceue.
- Set Properties column as name-value pairs. See Adding xC configuration information
- Sample CmdReg_invupdate.csv
- Set Properties column to include the UEConfigId integer value.
- Set StoreIdentifier column to include the name of your store. If we want all stores to use the same extension code, then specify NullEntity. See Registering custom xC extensions.