Click or drag to resize

IUCServiceStoresGet Method

Get List of stores

Namespace: LSOmni.Service
Assembly: LSOmni.Service (in LSOmni.Service.dll) Version: Commerce Service for LS Central 2026.8.0
Syntax
C#
List<Store> StoresGet(
	StoreGetType storeType,
	bool includeDetails,
	bool includeImages
)

Parameters

storeType  StoreGetType
Type of stores to get
includeDetails  Boolean
Include detail data, like store hours
includeImages  Boolean
Include Image Blobs for stores

Return Value

ListStore
List of stores
Exceptions
ExceptionCondition
LSOmniServiceExceptionStatusCodes returned:
  • StatusCode.Error
  • StatusCode.SecurityTokenInvalid
  • StatusCode.UserNotLoggedIn
  • StatusCode.DeviceIsBlocked
Remarks
LS Central OData: GetStores

Data for Store Hours needs to be generated in LS Central by running COMMERCE_XXXX Scheduler Jobs

Example
This Sample request can be used in SOAP UI application to send request to LS Commerce.

Sample request to get all Click and Collect Stores

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:StoresGet>
        <ser:storeType>ClickAndCollect</ser:storeType>
        <ser:includeDetails>true</ser:includeDetails>
        <ser:includeImages>false</ser:includeImages>
     </ser:StoresGet>
  </soapenv:Body>
</soapenv:Envelope>
See Also