Model 2 - Inventory Information for Some Products

Model 2 might be appropriate for a merchant who has some inventory that is always physically in stock. It could also be appropriate for a merchant who only needs to monitor the availability of a subset of products.

This model has inventory records that control the availability of some products. Other products without inventory records are considered to be permanently in stock.

If the following conditions exist:

  1. There is an inventory list that is periodically refreshed.
    • ProductInventoryList.DefaultInStock = true
  2. There are some product inventory records. The new and modified records have these values:
    • ProductInventoryRecord.allocation = {units}
    • ProductInventoryList.perpetual = false

The product inventory records can also have these values set. These affect the calculation of ProductInventoryRecord.ATS.

Salesforce B2C Commerce calculates ProductInventoryRecord.ATS = {units} for all product records. The result is that any product without a product inventory record is considered to be in stock and available. Product inventory records for the other products indicate their availability.

The storefront behavior for products without inventory records is as follows.

Status Behavior
Available The product record appears in product detail, cart, and checkout views. The product can be ordered.
Backordered Not supported
Pre-ordered Not supported
Not available Not supported

The storefront behavior for products with inventory records is as follows.

Status Behavior
Available The product record appears in product detail, cart, and checkout views. The product can be ordered.
Backordered The product record appears. The product can be ordered. The backorder date appears in the shopping cart.
Pre-ordered The product record appears. The product can be ordered. The pre-order date appears in the shopping cart.
Not available The product record appears with a no longer available message. The product can't be ordered.

Related Links

Inventory Scenarios

Updating Stock Levels