Click or drag to resize

IUCServiceOrderEdit Method

Edit Customer Order

Namespace: LSOmni.Service
Assembly: LSOmni.Service (in LSOmni.Service.dll) Version: Commerce Service for LS Central 2026.8.0
Syntax
C#
SalesEntry OrderEdit(
	Order request,
	string orderId,
	OrderEditType editType,
	bool returnOrderIdOnly
)

Parameters

request  Order
Updated Order object
orderId  String
Order Id to edit
editType  OrderEditType
Type of Order Edit
returnOrderIdOnly  Boolean

Return Value

SalesEntry
Remarks
LS Central WS2: CustomerOrderEditV2 (LS Central 28.0+), CustomerOrderEdit (earlier)
Example
This Sample request can be used in SOAP UI application to send request to LS Commerce.

Edit an existing shipped Order, increasing the quantity of the order line from 2 to 3

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:OrderEdit>
       <ser:request>
          <ns1:CardId>10021</ns1:CardId>
          <ns1:OrderDiscountLines>
          </ns1:OrderDiscountLines>
          <ns1:OrderLines>
             <ns1:OrderLine>
                <ns1:ItemId>40020</ns1:ItemId>
                <ns1:LineNumber>1</ns1:LineNumber>
                <ns1:LineType>Item</ns1:LineType>
                <ns1:Quantity>3.00</ns1:Quantity>
                <ns1:UomId/>
                <ns1:VariantId>002</ns1:VariantId>
             </ns1:OrderLine>
          </ns1:OrderLines>
          <ns1:OrderType>Sale</ns1:OrderType>
          <ns1:ShipOrder>true</ns1:ShipOrder>
          <ns1:ShipToAddress>
             <ns:Address1>Some Address</ns:Address1>
             <ns:Address2></ns:Address2>
             <ns:CellPhoneNumber></ns:CellPhoneNumber>
             <ns:City>Some City</ns:City>
             <ns:Country></ns:Country>
             <ns:HouseNo></ns:HouseNo>
             <ns:PhoneNumber></ns:PhoneNumber>
             <ns:PostCode>999</ns:PostCode>
             <ns:StateProvinceRegion></ns:StateProvinceRegion>
             <ns:Type>Residential</ns:Type>
          </ns1:ShipToAddress>
          <ns1:StoreId>S0013</ns1:StoreId>
       </ser:request>
       <ser:orderId>CO000123</ser:orderId>
       <ser:editType>General</ser:editType>
       <ser:returnOrderIdOnly>false</ser:returnOrderIdOnly>
    </ser:OrderEdit>
 </soapenv:Body>
</soapenv:Envelope>
See Also