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.
| Property | Type | Description | Required or Optional | Available Version |
|---|---|---|---|---|
canReduceShipping | Boolean | Whether to refund any associated shipping charge. | Required | 50.0 |
orderItemSummaryId | String | ID 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. | Required | 50.0 |
quantityExpected | Double | Quantity expected to be returned. This value also applies to any fees specified in returnOrderLineItemFees. | Required | 50.0 |
quantityReceived | Double | Quantity already physically returned. | Optional | 50.0 |
reasonForReturn | String | Reason 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 returnOrderLifeCycleType is MANAGED. | 50.0 |
returnOrderLineItemFees | List<ConnectApi.ReturnOrderLineItemFeeInputRepresentation> | 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. | Optional | 56.0 |
See Also