If you experience any of these problems with your Omnichannel Inventory integration,
try these steps.
Warnings appear at the top of the Omnichannel Inventory Status page:
These warnings indicate a configuration issue. Contact Salesforce Support.
Commerce API Issues
Verify that you acquired an appropriate Account Manager token for calling the Commerce
APIs. For example:
curl -k --data 'grant_type=client_credentials&scope=SALESFORCE_COMMERCE_API:clientId' --user 'username:password' -X POST 'https://{AccountManagerURL}/dwsso/oauth2/access_token'
Check that your URIs correctly use your B2C Commerce realm’s short code in the hostname
and your tenant group ID as the organization ID. For example:
https://{ShortCode}.api.commercecloud.salesforce.com/inventory/availability/v1/organizations/{TenantGroupId}/availability-records/actions
In OCI Cache Enabled mode, no Cache Status information appears for any inventory
lists:
Select a single inventory list and try to determine why it isn’t synchronized.
- Verify that the inventory list ID includes only valid characters and exactly matches
the External Reference of the associated location or location group.
- Use the Omnichannel Inventory API to check the availability of a known product on
that list.
In OCI Cache Enabled mode, Cache Status information appears for some, but not all,
inventory lists:
Identify whether any of the unsynchronized inventory lists are part of the combined
stream. If so, check whether they were added after that stream’s most recent full
import.
Select a single inventory list and try to determine why it isn’t synchronized.
- Verify that the inventory list ID includes only valid characters and exactly matches
the External Reference of the associated location or location group.
- Use the Omnichannel Inventory API to check the availability of a known product on
that list.
Future inventory data for an individual product record seems incorrect:
Remember the calculation of visible future values for a product inventory record in B2C
Commerce. The displayed future quantity is the sum of all future quantities for that
product, but the future date is the date of its earliest future quantity.
Reservations exist for products that aren’t in Omnichannel Inventory:
Check the inventory lists for the associated order product lines. If the
Default in Stock setting is on, then this behavior is
expected.
Availability data values seem incorrect:
Use the following questions as a guide. If you contact Salesforce Support, provide the
relevant answers.
- Inventory Lists:
- Does the ID match the External Reference of the associated location or
location group?
- Does the correct Location Type appear? The integration automatically sets it
to Location, Group, or
N/A.
- If Default In Stock is on, are any products not defined in Omnichannel
Inventory? Default In Stock treats undefined products as always available.
- In Business Manager, on the Omnichannel Inventory Integration Status page,
when was the Last Cache Update for the list?
- Product Inventory Records:
- Are the SKU and Product Type set correctly?
- Is the product part of a bundle or set?
- In Omnichannel Inventory, is the product inventory record defined correctly?
(You can use the Omnichannel Inventory APIs to get the data.)
- In Omnichannel Inventory, does the product inventory record have Safety Stock
defined? The safety stock isn’t visible in B2C Commerce, but is considered in
Available To Fulfill (ATF) and Available to Order (ATO) calculations. In B2C
Commerce, the values are Stock Level and Available To Sell (ATS). For example:
- Omnichannel Inventory Product Record: Allocation=10, Futures=2, Safety
Stock=1, Reserved=5
- ATF/Stock Level: Allocation - Safety Stock - Reserved = 10-1-5 = 4
- ATO/ATS: ATF + Futures = 4+2 = 6
- Baskets and Orders:
- Does your implementation request temporary inventory reservations for baskets?
Remember that they’re included in availability calculations.
- Which orders include incorrect products? What are their numbers and statuses?
Remember that canceling an order cancels its inventory reservations.