Get the Active Inventory Integration Mode

When code depends on whether B2C Commerce is integrated with Omnichannel Inventory, use the new dw.catalog.ProductInventoryMgr.getInventoryIntegrationMode() Script API method to get the active inventory integration mode. It returns a constant defined in the ProductInventoryMgr class.