Click or drag to resize

IeCommerceService.StoresGetbyItemInStock Method

Get Click and Collect Stores that have items in stock

Namespace:  LSOmni.Service
Assembly:  LSOmni.Service (in LSOmni.Service.dll) Version: LS Omni 3.7.0
Syntax
C#
List<Store> StoresGetbyItemInStock(
	string itemId,
	string variantId,
	double latitude,
	double longitude,
	double maxDistance,
	int maxNumberOfStores
)

Parameters

itemId
Type: System.String
item Id
variantId
Type: System.String
variant Id
latitude
Type: System.Double
latitude
longitude
Type: System.Double
longitude
maxDistance
Type: System.Double
max distance of stores from latitude and longitude in kilometers
maxNumberOfStores
Type: System.Int32
max number of stores returned

Return Value

Type: List<Store>
List of stores marked as ClickAndCollect that have items in stock
Exceptions
ExceptionCondition
LSOmniServiceExceptionStatusCodes returned:
  • StatusCode.Error
  • StatusCode.SecurityTokenInvalid
  • StatusCode.UserNotLoggedIn
  • StatusCode.DeviceIsBlocked
See Also