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

Parameters

oneListId  String
OneList Id
item  OneListItem
OneList Item to add or remove
cardId  String
Card Id of the person making the changes
remove  Boolean
true if remove item, else false
calculate  Boolean
Recalculate OneList

Return Value

OneList
Updated OneList
Remarks
LS Central WS2: WishListItemModify

LS Central PageWS: wishLists/ItemModify

Example
This Sample request can be used in SOAP UI application to send request to LS Commerce.

Include minimum data needed to be able to process the request

SOAP Sample Request
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ser="http://lsretail.com/LSOmniService/EComm/2017/Service" xmlns:ns="http://lsretail.com/LSOmniService/Base/2017" xmlns:ns1="http://lsretail.com/LSOmniService/Loy/2017">
  <soapenv:Header/>
  <soapenv:Body>
     <ser:OneListItemModify>
        <ser:oneListId>1117AC57-10BD-4F7C-974D-FA19B1B027FB</ser:oneListId>
        <ser:item>
           <ns1:ItemId>40045</ns1:ItemId>
           <ns1:Quantity>1</ns1:Quantity>
           <ns1:VariantId>015</ns1:VariantId>
        </ser:item>
        <ser:cardId>10021</ser:cardId>
        <ser:remove>false</ser:remove>
        <ser:calculate>true</ser:calculate>
     </ser:OneListItemModify>
  </soapenv:Body>
</soapenv:Envelope>
See Also