Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Services Namespace / IInventoryManager Interface / CheckStock Method / CheckStock(Int32,String,IList<Int32>) Method
Id of the product to check stock for
The option list of the product to check stock for
If its a kit product the Ids of the kit products to check stock for
In This Topic
    CheckStock(Int32,String,IList<Int32>) Method
    In This Topic
    Checks stock for given product
    Syntax

    Parameters

    productId
    Id of the product to check stock for
    optionList
    The option list of the product to check stock for
    kitProductIds
    If its a kit product the Ids of the kit products to check stock for

    Return Value

    InventoryManagerData object containing stock details for the given product
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also