Click or drag to resize

IUCJsonDiscountsGet Method

Get discounts for items. Send in empty string for loyaltySchemeCode if getting anonymously.

Namespace:  LSOmni.Service
Assembly:  LSOmni.Service (in LSOmni.Service.dll) Version: Commerce Service for LS Central 2024.4
Syntax
C#
List<ProactiveDiscount> DiscountsGet(
	string storeId,
	List<string> itemIds,
	string loyaltySchemeCode
)

Parameters

storeId
Type: SystemString
Store Id
itemIds
Type: System.Collections.GenericListString
List of item ids to check for discounts
loyaltySchemeCode
Type: SystemString
[OPTIONAL] Loyalty scheme code for a user

Return Value

Type: ListProactiveDiscount
See Also