Click or drag to resize

IUCService.OneListItemModify Method

Add or remove Item in OneList without sending whole list

Namespace:  LSOmni.Service
Assembly:  LSOmni.Service (in LSOmni.Service.dll) Version: Commerce Service for LS Central 2025.4
Syntax
C#
OneList OneListItemModify(
	string oneListId,
	OneListItem item,
	string cardId,
	bool remove,
	bool calculate
)

Parameters

oneListId
Type: System.String
OneList Id
item
Type: LSRetail.Omni.Domain.DataModel.Loyalty.Baskets.OneListItem
OneList Item to add or remove
cardId
Type: System.String
Card Id of the person making the changes
remove
Type: System.Boolean
true if remove item, else false
calculate
Type: System.Boolean
Recalculate OneList

Return Value

Type: OneList
Updated OneList
See Also