Click or drag to resize

IUCServiceItemsInStoreGetEx Method

Get stock status for list of items from Store and/or Sourcing Location

Namespace: LSOmni.Service
Assembly: LSOmni.Service (in LSOmni.Service.dll) Version: Commerce Service for LS Central 2026.8.0
Syntax
C#
List<InventoryResponse> ItemsInStoreGetEx(
	List<InventoryRequest> items,
	string storeId,
	string locationId,
	bool useSourcingLocation
)

Parameters

items  ListInventoryRequest
Items to get status for
storeId  String
Store to get Stock status for, if empty get status for all stores
locationId  String
Sourcing Location to get status for
useSourcingLocation  Boolean
Get Inventory status from all Sourcing Locations

Return Value

ListInventoryResponse
Remarks
LS Central WS2: GetInventoryMultipleV2

If storeId is empty, all store that have item available will be returned. If locationId is set, only status for that location will be shown (with or without storeId)

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

SOAP Sample 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:ItemsInStoreGetEx>
        <ser:items>
           <ns:InventoryRequest>
              <ns:ItemId>40020</ns:ItemId>
              <ns:VariantId>010</ns:VariantId>
           </ns:InventoryRequest>
        </ser:items>
        <ser:storeId>S0001</ser:storeId>
        <ser:locationId>W0001</ser:locationId>
        <ser:useSourcingLocation>false</ser:useSourcingLocation>
     </ser:ItemsInStoreGetEx>
  </soapenv:Body>
</soapenv:Envelope>
See Also