---
schema_version: "1"
id: cf91be8f9ad052f9716645bb66d6279edbf51c7e14cc7be33f194ecc7be85906
title: Omnichannel Inventory Location Graph Changes
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/cc/264-0-0/b2c_omnichannel_inventory_location_graph_changes.md
canonical_url: https://help.salesforce.com/s/articleView?id=cc.b2c_omnichannel_inventory_location_graph_changes.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: cc135836f9daea606144d1fbdb203eff5062c3f4170f311fc38cb9c011c3b61e
description: When you manage inventory with Omnichannel Inventory, changes to the location graph in Omnichannel Inventory require coordinated updates in B2C Commerce. To make any of the changes described here, follow the appropriate steps in order.
products:
  - Commerce
  - B2C Commerce
release: "264"
---
# Omnichannel Inventory Location Graph Changes

When you manage inventory with Omnichannel Inventory, changes to the location graph in Omnichannel Inventory require coordinated updates in B2C Commerce. To make any of the changes described here, follow the appropriate steps in order.

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-cc-b2c_merchandiser_administrator-264-0-0-production-enus/ea76f372-6cfa-42a6-8e7c-05c6df7abed8/images/icon_note.png)

Note Use the Salesforce core APIs or UI to make location graph changes. You can’t modify the location graph with the headless Commerce APIs.

## Best Practices

Adding or removing locations or location groups after loading inventory availability data can trigger large availability data and cache updates. To mitigate the performance impact, we recommend these practices:

- Schedule location graph changes for times with low order traffic.
- Add or remove only one location or location group at a time.
- After making a change, wait for the update to finish before importing new inventory availability data. If you made the change in the Omnichannel Inventory console app, confirm it in the Location Management section.

## Remove a Location or Location Group

To remove a location or location group that’s associated with a B2C Commerce inventory list:

- (B2C Commerce) If the inventory list is assigned to a site or store, assign a different inventory list to that site or store. If it’s assigned to a store, deleting the store can also be an option.
- (B2C Commerce) Delete the inventory list associated with the location or location group.
- (Omnichannel Inventory) Delete the location or location group.

## Add a Location or Location Group

To add a location or location group and associate it with a B2C Commerce inventory list:

- (Omnichannel Inventory) Create the location or location group.
- (Omnichannel Inventory) If creating a location, initialize its inventory data and add it to any appropriate data import processes.
- (Omnichannel Inventory) If creating a location group, add the locations to it.
- (B2C Commerce) Create the inventory list. Make sure that its ID matches the External Reference of the location or location group.
- (B2C Commerce) Open the Omnichannel Inventory Integration Status page and verify that the inventory list is synchronizing with Omnichannel Inventory.
    - If the inventory list is associated with a location group, its Location Type and Items Cached values appear on the Status page in a short time.
    - If the inventory list is assigned to a site, its Location Type and Items Cached values appear on the Status page in a short time.
    - If the inventory list is associated with a location and isn’t assigned to a site, its Location Type appears on the status page in a short time. However, its Items Cached value doesn’t appear until after the next overnight data synchronization.
- If the synchronization isn’t working, contact Salesforce Support to attempt to trigger it manually.

## Change the Element Type Associated with an Inventory List

If an inventory list is associated with a location, change it to be associated with a location group, or vice versa. However, we don’t recommend it.

- (Omnichannel Inventory) Change the External Reference of the location or location group currently associated with the inventory list.
- (Omnichannel Inventory) Set the External Reference of the location or location group to associate with the inventory list.
- Contact Salesforce Support and request a refresh of your inventory list.
    
    ![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-cc-b2c_merchandiser_administrator-264-0-0-production-enus/ea76f372-6cfa-42a6-8e7c-05c6df7abed8/images/icon_note.png)
    
    Note If you don’t request an explicit refresh, the integration can fail to recognize the change until it causes an error.
- (B2C Commerce) Open the Omnichannel Inventory Integration Status page and verify that the inventory list is synchronizing with the correct target in Omnichannel Inventory.
    - If the inventory list is associated with a location group, its Location Type and Items Cached values appear on the Status page in a short time.
    - If the inventory list is assigned to a site, its Location Type and Items Cached values appear on the Status page in a short time.
    - If the inventory list is associated with a location and isn’t assigned to a site, its Location Type appears on the status page in a short time. However, its Items Cached value doesn’t appear until after the next overnight data synchronization.
- If the synchronization isn’t working, contact Salesforce Support to attempt to trigger it manually.

#### See Also

- [Omnichannel Inventory Integration Setup and Configuration](https://help.salesforce.com/s/articleView?id=cc.b2c_omnichannel_inventory_integration_setup_config.htm&release=264.0.0&type=5 "Plan and implement your integration of Salesforce Omnichannel Inventory with B2C Commerce.")
- [Omnichannel Inventory Data Synchronization](https://help.salesforce.com/s/articleView?id=cc.b2c_omnichannel_inventory_data_synchronization.htm&release=264.0.0&type=5 "Omnichannel Inventory availability data is eventually consistent, so an update can take a few seconds to appear in the B2C Commerce UI or API. Knowing how B2C Commerce caches and refreshes this data helps you interpret availability during and after inventory reservations.")
- [Troubleshooting the Omnichannel Inventory Integration](https://help.salesforce.com/s/articleView?id=cc.b2c_troubleshooting_omnichannel_inventory_integration.htm&release=264.0.0&type=5 "If you experience any of these problems with your B2C Commerce Omnichannel Inventory integration, try these steps.")