No, QuickBooks Online can't do partial line item refunds. You have to refund the customer 100% (not subtracting shipping) or manually modify the QuickBooks Online app to reflect the partial refund given. Full refunds appear as credit notes in QuickBooks Online.
Help us improve our Help Center! Let us know if this article was helpful or needs improvement using the vote buttons at the end of the page.