Newer Version Available
ConnectApi.ChangeItemInputRepresentation
Change to an OrderItemSummary, such as a return or cancel. You
specify whether to prorate the associated shipping charge based on the price change. The
OrderItemSummary can’t be a shipping charge.
| Property | Type | Description | Required or Optional | Available Version |
|---|---|---|---|---|
| orderItemSummaryId | String | ID of the OrderItemSummary. | Required | 48.0 |
| quantity | Double | Quantity to change. Use a positive value. For example, a value of 2 means “cancel or return 2 units.” | Required | 48.0 |
| reason | String | Reason for the change. The value must match one of the picklist values on the Reason field of the OrderItemSummaryChange object. | Required | 48.0 |
| shippingReductionFlag | Boolean | Specifies whether to prorate the shipping charge. | Required | 48.0 |