ConnectApi.ReturnOrderItemInputRepresentation

ID of a ReturnOrderLineItem and instructions for updating it. After the update, the ReturnOrderLineItem is read-only. Any remaining quantity to be returned is added to a new ReturnOrderLineItem.

PropertyTypeDescriptionRequired or OptionalAvailable Version
quantityReceivedDoubleThe quantity of the ReturnOrderLineItem that has been received. The value must be zero or greater. This value isn’t used by any standard features, but is provided for use in customizations.Optional52.0
quantityRejectedDoubleThe quantity of the ReturnOrderLineItem that has been rejected for return. The value must be zero or greater. This value isn’t used by any standard features, but is provided for use in customizations.Optional52.0
quantityReturnedDoubleThe quantity of the ReturnOrderLineItem that has been returned. The value must be greater than zero. If this value plus quantityToCancel is less than the expected return quantity, then the remaining quantity to be returned is added to a new ReturnOrderLineItem.Required52.0
quantityToCancelDoubleThe quantity of the ReturnOrderLineItem to remove because it’s not being returned. The value must be zero or greater. If this value plus quantityReturned is less than the expected return quantity, then the remaining quantity to be returned is added to a new ReturnOrderLineItem.Optional52.0
reasonForRejectionStringThe reason why the rejected quantity, if any, was rejected. This value isn’t used by any standard features, but is provided for use in customizations.Optional52.0
returnOrder​LineItemIdStringThe ID of the ReturnOrderLineItem.Required52.0

See Also