Get List of stores
Namespace: LSOmni.ServiceAssembly: LSOmni.Service (in LSOmni.Service.dll) Version: Commerce Service for LS Central 2026.8.0
SyntaxList<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
ListStoreList of stores
Exceptions| Exception | Condition |
|---|
| LSOmniServiceException | StatusCodes 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
Sample request to get all Click and Collect Stores
{
"storeType": 1,
"includeDetails": 1,
"includeImages": 0
}
See Also