ConnectApi.ChangeItemInputRepresentation

Change to an order item summary, such as a return or cancel. You specify whether to prorate the associated shipping charge based on the price change. The order item summary can’t be a shipping charge.

PropertyTypeDescriptionRequired or OptionalAvailable Version
changeItemFeesList<ChangeItemFee>List of input data for fees associated with the order item being returned or canceled.Optional57.0
orderItemSummaryIdStringID of the order item summary.Required48.0
quantityDoubleQuantity to change. Use a positive value. For example, a value of 2 means “cancel or return 2 units.”Required48.0
reasonStringReason for the change. The value must match one of the picklist values on the Reason field of the OrderItemSummaryChange object.Required48.0
reasonForChangeTextStringReason text used for the return insights. The value has a max of 255 characters.Optional59.0
shippingReductionFlagBooleanSpecifies whether to prorate the shipping charge.Required48.0

See Also