Click or drag to resize

IUCJson.StoresGetbyItemInStock Method

Gets all Click and Collect stores, within maxDistance from current location (latitude,longitude), that have the item available

Namespace:  LSOmni.Service
Assembly:  LSOmni.Service (in LSOmni.Service.dll) Version: Commerce Service for LS Central 2025.4
Syntax
C#
List<Store> StoresGetbyItemInStock(
	string itemId,
	string variantId,
	double latitude,
	double longitude,
	double maxDistance
)

Parameters

itemId
Type: System.String
item Id
variantId
Type: System.String
variant Id
latitude
Type: System.Double
current latitude
longitude
Type: System.Double
current longitude
maxDistance
Type: System.Double
max distance of stores from latitude and longitude in kilometers, 0 = no limit

Return Value

Type: List<Store>
List of stores marked as ClickAndCollect that have the item in stock
Exceptions
ExceptionCondition
LSOmniServiceExceptionStatusCodes returned:
  • StatusCode.Error
  • StatusCode.SecurityTokenInvalid
  • StatusCode.UserNotLoggedIn
  • StatusCode.DeviceIsBlocked
Remarks
LS Central WS2 : GetItemInventory
See Also