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.
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.
- 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.
If you experience synchronization issues with certain locations or location groups, you can contact Salesforce Support to attempt an explicit synchronization of them.