Click or drag to resize

IUCServiceOneListItemModify 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 2024.4
Syntax
C#
OneList OneListItemModify(
	string oneListId,
	OneListItem item,
	bool remove,
	bool calculate
)

Parameters

oneListId
Type: SystemString
OneList Id
item
Type: LSRetail.Omni.Domain.DataModel.Loyalty.BasketsOneListItem
OneList Item to add or remove
remove
Type: SystemBoolean
true if remove item, else false
calculate
Type: SystemBoolean
Recalculate OneList

Return Value

Type: OneList
Updated OneList
See Also