Commerce Cloud maintains the following inventory data that determines the availability of each SKU:
If stockLevel is not 0, then the SKU is in stock.
If stockLevel is 0 but backorderLevel is not 0, then the SKU is backorderable.
If stockLevel and backorderLevel are both 0, but preorderLevel is not 0, then the SKU is preorderable.
If all three levels are 0, then the SKU is out of stock.
In addition to inventory levels, Commerce Cloud maintains the following inventory data for each SKU:
stockThresholdis the threshold at which the status of the SKU changes to out of stock.preorderThresholdis the threshold at which the status of the SKU changes from preordered to out of stock.backorderThresholdis the threshold at which the status of the SKU changes from backordered to out of stock.availabilityDateis the date on which the SKU becomes available.availabilityStatusis the status of the SKU, for example, preordered, backordered, or out of stock.

