magento2
                                
                                 magento2 copied to clipboard
                                
                                    magento2 copied to clipboard
                            
                            
                            
                        Magento 2.4.8 - REST API row_total does not calculate correctly (missing qty)
Preconditions and environment
- Magento 2.4.8
Steps to reproduce
https://github.com/magento/magento2/commit/a93542bf15a761baa6828a31697276e904296128
Before this commit getTotalAmount($item) took into account the qty of the item because it used  $item->getRowTotal(). After that commit it no longer does leading to the row_total in the REST API not accounting for qty.
Expected result
row_total in REST API would be take into account the qty of the item.
Actual result
row_total in REST API does not take into account the qty of the item.
Additional information
No response
Release note
No response
Triage and priority
- [ ] Severity: S0 - Affects critical data or functionality and leaves users without workaround.
- [x] Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
- [ ] Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
- [ ] Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
- [ ] Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.