Omnichannel Inventory Data Synchronization

When you manage inventory with Omnichannel Inventory, the integration copies availability data from Omnichannel Inventory to a cache in B2C Commerce. Only the integration can write to this cache.

Important: The inventory data cache is limited to 100,000,000 records.

The integration continuously updates the cache with inventory data from Omnichannel Inventory. It organizes the data into streams by inventory list as follows:

  • If an inventory list is associated with a location group, then its data has a dedicated stream.
  • If an inventory list is assigned to a site, then its data has a dedicated stream.
  • All inventory lists that are both associated with locations and not assigned to sites have their data combined into a single stream.

For each stream, the integration performs an initial full import of its data, followed by continuous delta imports of changes. Visible inventory availability data is eventually consistent, meaning that an update can take time (usually a few seconds) to be reflected in the UI or API. Therefore, when B2C Commerce makes an inventory reservation in Omnichannel Inventory, you can’t assume that availability data immediately reflects the quantities assigned to that reservation. However, Omnichannel Inventory accepts a reservation request only if it actually has inventory available to fulfill that order.

In certain situations, the integration performs a full import of an existing stream’s data. The following events trigger a full data import of the associated stream:
  • An import experiences an error.
  • An inventory list is added to or removed from the combined stream.

A full import of a stream dedicated to a single inventory list occurs as soon as possible. However, due to its potential size and performance impact, a full import of the combined stream only occurs between 2 am and 3 am. This time window is based on the B2C Commerce instance system time.

Note: The full combined stream import only includes changes made before 1 am. If an inventory list is added to or removed from the combined stream after 1 am, it isn’t synchronized until the following night’s import.

If you experience synchronization issues with certain locations or location groups, you can contact Salesforce Support to attempt an explicit synchronization of them.