Click or drag to resize

IUCJsonItemsInStoreGet Method

Get stock status for list of items from one or all stores

Namespace:  LSOmni.Service
Assembly:  LSOmni.Service (in LSOmni.Service.dll) Version: Commerce Service for LS Central 2024.4
Syntax
C#
List<InventoryResponse> ItemsInStoreGet(
	List<InventoryRequest> items,
	string storeId
)

Parameters

items
Type: System.Collections.GenericListInventoryRequest
Items to get status for
storeId
Type: SystemString
Store to get Stock status for, if empty get status for all stores

Return Value

Type: ListInventoryResponse
Remarks
LS Central WS2 : GetInventoryMultiple

If storeId is empty, all store that have item available will be returned

Examples
Sample request including minimum data needed to be able to process the request in LS Commerce
REST Sample Request
{
    "items": [{
        "ItemId": "40020",
        "VariantId": "010"
    }],
    "storeId": "S0001"
}
See Also