{"data":{"id":"MDVA-44505","source":"qpt","sourceRef":"magento/quality-patches@1.1.84","title":"Fixes the issues where GraphQL Applying Reward Points does not update Grand Total and where store credit is applied multiple times during the order placement.","categories":["Web API"],"components":["magento/module-reward-graph-ql"],"origin":"adobe-commerce-support","documentation":{"url":"https://experienceleague.adobe.com/en/docs/commerce-operations/tools/quality-patches-tool/patches-available-in-qpt/v1-1-14/mdva-44505-graphql-applying-reward-points-does-not-update-grand-total","path":"help/tools/quality-patches-tool/patches-available-in-qpt/v1-1-14/mdva-44505-graphql-applying-reward-points-does-not-update-grand-total.md","blobSha":"9bffae39a46d64a8e496d21e2a603fb6191169e2","description":"The GraphQL query for a cart applying reward points does not consider the reward points and returns an incorrect grand total.","stepsToReproduce":"1. Configure reward points. 1. Create a cart and apply some reward points. 1. Call the GetCart query from the GraphQL endpoint and retrieve your cart: query { cart(cart_id: \"{CART_ID}\") { prices { discounts { amount { value } } grand_total { value } } } } 1. Check the grand total entry. 1. Now check the customer's cart total using rest API (/rest/V1/carts/mine/totals).","introducedInQpt":"1.1.14","createdFor":["2.4.2"],"documentedRange":"2.4.1 - 2.4.2-p2","scheduledFixRelease":null},"files":[{"package":"magento/magento2-ee-base","constraint":">=2.4.1 <2.4.3","path":"patches/commerce/MDVA-44505_2.4.2.patch","blobSha":"ae34a20f2152e760e354577e57b2bfc6f3ce751b","url":"https://raw.githubusercontent.com/magento/quality-patches/11d565bdde197b9c7bac859a5698e99098b48457/patches/commerce/MDVA-44505_2.4.2.patch","thirdParty":false,"modifies":[{"path":"vendor/magento/module-reward-graph-ql/Plugin/Quote/Model/Quote/TotalsCollector/ResetQuoteRewardPointsAmountPlugin.php","change":"added","package":"magento/module-reward-graph-ql"},{"path":"vendor/magento/module-reward-graph-ql/etc/graphql/di.xml","change":"modified","package":"magento/module-reward-graph-ql"}],"packages":["magento/module-reward-graph-ql"],"hasTests":false,"applicableVersions":{"magento-community":[],"magento-commerce":["2.4.2-p2","2.4.2-p1","2.4.2","2.4.1-p1","2.4.1"],"mage-os":[]},"unknownVersions":[],"requires":["MDVA-40830"],"replacedWith":null,"deprecated":false}],"applicableVersions":{"magento-community":[],"magento-commerce":["2.4.2-p2","2.4.2-p1","2.4.2","2.4.1-p1","2.4.1"],"mage-os":[]},"conditions":null,"requirements":null},"_documentation":"https://magento.watch/api","_description":"Quality patch MDVA-44505 details"}