---
schema_version: "1"
id: 6cd8edcd8ea5710e31b8c8d75878e71b7fdb0ebe0254d253a4cb6aea97fde5ef
title: ConnectApi.CancelAllOrderItemsInputRepresentation
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexref/apex_connectapi_input_cancel_all_order_items.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_input_cancel_all_order_items.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: d475d5704518dc219e94955d6520a0e6ba5c5421406862b82b2bb45a4412bb21
description: Cancellation of all items in an order.
---
# ConnectApi.CancelAllOrderItemsInputRepresentation

Cancellation of all items in an order.

| Property | Type | Description | Required or Optional | Available Version |
| --- | --- | --- | --- | --- |
| changeItemFees | [List](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_list.htm#apex_methods_system_list "Contains methods for the List collection type.")<[ConnectApi.ChangeItemFeeWithTaxInputRepresentation](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_input_change_item_fee_with_tax.htm "Input representation of a change item fee with taxes.")\> | List of input data for fees, including taxes, associated with the order items being canceled. | Optional | 63.0 |
| excludedItems | [List](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_list.htm#apex_methods_system_list "Contains methods for the List collection type.")<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 |