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 2024.6
Syntax
C#
List<Store> StoresGet(
	StoreGetType storeType,
	bool includeDetails,
	bool includeImages
)

Parameters

storeType
Type: LSRetail.Omni.Domain.DataModel.Base.SetupStoreGetType
Type of stores to get
includeDetails
Type: SystemBoolean
Include detail data, like store hours
includeImages
Type: SystemBoolean
Include Image Blobs for stores

Return Value

Type: ListStore
List of stores
Exceptions
ExceptionCondition
LSOmniServiceExceptionStatusCodes returned:
  • StatusCode.Error
  • StatusCode.SecurityTokenInvalid
  • StatusCode.UserNotLoggedIn
  • StatusCode.DeviceIsBlocked
Remarks
Data for Store Hours needs to be generated in LS Central by running COMMERCE_XXXX Scheduler Jobs
See Also