Click or drag to resize

IUCJsonOrderCancel 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 2026.8.0
Syntax
C#
bool OrderCancel(
	string orderId,
	string storeId,
	string userId,
	List<int> lineNo
)

Parameters

orderId  String
Customer Order Id
storeId  String
Web Store Id
userId  String
User who cancels the order, use Contact ID for logged in user
lineNo  ListInt32
List of Order Line numbers to cancel, if empty whole order will be canceled

Return Value

Boolean
Remarks
LS Central WS2: CustomerOrderCancel
See Also