IUCJsonOrderCancelEx Method |
Cancel Customer Order with lineNo and quantity to cancel items from individual lines
Namespace: LSOmni.ServiceAssembly: LSOmni.Service (in LSOmni.Service.dll) Version: Commerce Service for LS Central 2026.8.0
Syntaxbool OrderCancelEx(
string orderId,
string storeId,
string userId,
List<OrderCancelLine> lines
)
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
- lines ListOrderCancelLine
- List of Order Lines to cancel from, if empty whole order will be canceled
Return Value
Boolean
Remarks
LS Central WS2: CustomerOrderCancel
Example
Sample request including minimum data needed to be able to process the request in LS Commerce
Cancel a single quantity of one line on an existing Customer Order (leave "lines" empty to cancel the whole order)
{
"orderId": "CO000123",
"storeId": "S0013",
"userId": "10021",
"lines": [{
"ItemNo": "40020",
"LineNo": 1,
"Quantity": 1
}]
}
See Also