Disclaimer: This website requires Please enable JavaScript in your browser settings for the best experience.

Dev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideLegal TermsGitHubDev CommunityOptimizely AcademySubmit a ticketLog In
Dev Guide

Inventory

Describes Inventory pipelines in Optimizely Configured Commerce.

DecrementQtyOnHand

OrderPipeDescription
100DecrementInventoryCallsIInventoryService.DecrementInventory.

GetQtyOnHand

OrderPipeDescription
100GetInventoryUses IInventoryService.GetInventory to get current inventory. The result is stored in the Inventories and RequiresRealTimeInventory properties on the result object.
150GetRealTimeInventoryIf IInventoryService is RealTime and the PerformRealTimeInventory property on the parameter object true, uses IRealTimeInventoryService.GetInventory to get current inventory and sets RequiresRealtimeInventory to false. The result is stored to the Inventories and RequiresRealtimeInventory properties on the result object.