Click or drag to resize

IUCJsonStoresGet Method

Get List of stores

Namespace:  LSOmni.Service
Assembly:  LSOmni.Service (in LSOmni.Service.dll) Version: Commerce Service for LS Central 2024.4
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
Examples
Sample request to get all Click and Collect Stores
REST Sample Request
{
   "storeType": 1,
   "includeDetails": 1,
   "includeImages": 0
}
See Also