---
schema_version: "1"
id: 66afbd3b3131e856917c8551eafe4e411c7a9d045ef171ede841489df053a2d4
title: Get the Active Inventory Integration Mode
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/commerce/264-0-0/rn_get_inventory_integration_mode_w-9297234_as.md
canonical_url: https://help.salesforce.com/s/articleView?id=commerce.rn_get_inventory_integration_mode_w-9297234_as.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 42ac1ed8b954223b97c357adf4205643a93ef2c2f8236b41f63426f8e02b892f
description: 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.
products:
  - Commerce
  - B2C Commerce
release: "264"
---
# 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.