Omnichannel Inventory Data Synchronization

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.

Eventual Consistency

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 processes reservation requests sequentially, so a reservation request succeeds only if inventory is actually available to fulfill that order.

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

B2C Commerce Inventory Modes

B2C Commerce can be in one of three inventory modes:

  • Commerce Platform Inventory: B2C Commerce handles availability and reservations internally. The integration isn’t active.
  • OCI Cache Enabled: Omnichannel Inventory is populating the availability data cache. However, B2C Commerce still handles availability and reservations internally.
  • Omnichannel Inventory: The integration is active and B2C Commerce exclusively uses availability data in the cache and sends reservation requests to Omnichannel Inventory.

Initially, B2C Commerce is in Commerce Platform Inventory mode. When you first activate the integration with Omnichannel Inventory, B2C Commerce changes to OCI Cache Enabled mode. When the cache is ready, it can change to Omnichannel Inventory mode. The current mode appears on the Omnichannel Inventory Integration page in Business Manager.

Availability Search Index

When B2C Commerce is in Commerce Platform Inventory mode or OCI Cache Enabled mode, the availability index is built using B2C Commerce inventory availability data. When B2C Commerce is in Omnichannel Inventory mode, the availability index is built using cached availability data from Omnichannel Inventory.

Selecting Omnichannel Inventory mode triggers a full rebuild of the availability index. Otherwise, the availability index functions normally.

Note
Note Building the availability index from the cached Omnichannel Inventory data takes about the same amount of time as building it from B2C Commerce inventory data.