ConnectApi.ReturnOrderLineItemInputRepresentation

Data for creating a ReturnOrderLineItem for an order item being returned, including data to create ReturnOrderLineItems representing any return fees associated with it.

PropertyTypeDescriptionRequired or OptionalAvailable Version
canReduceShippingBooleanWhether to refund any associated shipping charge.Required50.0
orderItemSummaryIdStringID of the associated OrderItemSummary. If the OrderItemSummary already has an associated ReturnOrderLineItem, then you must specify a different reasonForReturn. Duplicating the reason breaks the financial calculations.Required50.0
quantityExpectedDoubleQuantity expected to be returned. This value also applies to any fees specified in returnOrderLineItemFees.Required50.0
quantityReceivedDoubleQuantity already physically returned.Optional50.0
reasonForReturnStringReason for the return. The value must match an entry in both the OrderSummaryChange Reason field and the ReturnOrderLineItem object’s ReasonForReturn picklist.Required if the returnOrder​LifeCycleType is MANAGED.50.0
returnOrder​LineItemFeesList<ConnectApi.​ReturnOrder​LineItemFee​InputRepresentation>List of input data for return fees associated with the order item being returned. A ReturnOrderLineItem of Type Fee is created to represent each fee.Optional56.0

See Also