Click or drag to resize

IUCService.OrderCancel Method

Cancel Customer Order with lineNo option to cancel individual lines

Namespace:  LSOmni.Service
Assembly:  LSOmni.Service (in LSOmni.Service.dll) Version: Commerce Service for LS Central 2025.4
Syntax
C#
bool OrderCancel(
	string orderId,
	string storeId,
	string userId,
	List<int> lineNo
)

Parameters

orderId
Type: System.String
Customer Order Id
storeId
Type: System.String
Web Store Id
userId
Type: System.String
User who cancels the order, use Contact ID for logged in user
lineNo
Type: System.Collections.Generic.List<Int32>
List of Order Line numbers to cancel, if empty whole order will be canceled

Return Value

Type: Boolean
Remarks
LS Central WS2 : CustomerOrderCancel
See Also