Click or drag to resize

IUCJsonStoresGetByCoordinates Method

Gets all Click and Collect stores, within maxDistance from current location (latitude,longitude)

Namespace:  LSOmni.Service
Assembly:  LSOmni.Service (in LSOmni.Service.dll) Version: Commerce Service for LS Central 2024.4
Syntax
C#
List<Store> StoresGetByCoordinates(
	double latitude,
	double longitude,
	double maxDistance
)

Parameters

latitude
Type: SystemDouble
current latitude
longitude
Type: SystemDouble
current longitude
maxDistance
Type: SystemDouble
max distance of stores from latitude and longitude in kilometers, 0 = no limit

Return Value

Type: ListStore
List of stores marked as ClickAndCollect within max distance of coordinates
Exceptions
ExceptionCondition
LSOmniServiceExceptionStatusCodes returned:
  • StatusCode.Error
  • StatusCode.SecurityTokenInvalid
  • StatusCode.UserNotLoggedIn
  • StatusCode.DeviceIsBlocked
See Also