IUCServiceItemsInStoreGet Method |
Get stock status for list of items from one or all stores
Namespace: LSOmni.ServiceAssembly: LSOmni.Service (in LSOmni.Service.dll) Version: Commerce Service for LS Central 2026.8.0
SyntaxList<InventoryResponse> ItemsInStoreGet(
List<InventoryRequest> items,
string storeId
)
Parameters
- items ListInventoryRequest
- Items to get status for
- storeId String
- Store to get Stock status for, if empty get status for all stores
Return Value
ListInventoryResponse
Remarks
LS Central WS2: GetInventoryMultiple
If storeId is empty, all store that have item available will be returned
Example
This Sample request can be used in SOAP UI application to send request to LS Commerce.
Include minimum data needed to be able to process the request
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ser="http://lsretail.com/LSOmniService/EComm/2017/Service" xmlns:ns="http://lsretail.com/LSOmniService/Base/2017" xmlns:ns1="http://lsretail.com/LSOmniService/Loy/2017">
<soapenv:Header/>
<soapenv:Body>
<ser:ItemsInStoreGet>
<ser:items>
<ns:InventoryRequest>
<ns:ItemId>40020</ns:ItemId>
<ns:VariantId>010</ns:VariantId>
</ns:InventoryRequest>
</ser:items>
<ser:storeId>S0001</ser:storeId>
</ser:ItemsInStoreGet>
</soapenv:Body>
</soapenv:Envelope>
See Also