Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

ConnectApi.CancelAllOrderItemsInputRepresentation

Cancellation of all items in an order.
Property Type Description Required or Optional Available Version
changeItemFees List<ConnectApi.ChangeItemFeeWithTaxInputRepresentation> List of input data for fees, including taxes, associated with the order items being canceled. Optional 63.0
excludedItems List<String> List of items excluded from cancellation. Optional 63.0
reason String Reason for the cancellation. The value must match one of the picklist values on the Reason field of the Order Product Summary Change object. Required 63.0
reasonText String Reason text used for the return insights. The value has a max of 255 characters. Optional 63.0