{"data":{"id":"MDVA-44562","source":"qpt","sourceRef":"magento/quality-patches@1.1.84","title":"Fixes the issue where the non-default store id for quote items is overridden by the default store id, despite the GraphQL request originating from the non-default store view.","categories":["Shopping Cart","GraphQL"],"components":["magento/module-quote"],"origin":"adobe-commerce-support","documentation":{"url":"https://experienceleague.adobe.com/en/docs/commerce-operations/tools/quality-patches-tool/patches-available-in-qpt/v1-1-16/mdva-44562-store-id-quote-items-overridden-by-default-store-id","path":"help/tools/quality-patches-tool/patches-available-in-qpt/v1-1-16/mdva-44562-store-id-quote-items-overridden-by-default-store-id.md","blobSha":"19e86e83f27069ab55d031bcbaaa429912be53eb","description":"The store id for quote items is overridden by the default store id for GraphQL requests.","stepsToReproduce":"1. Create a new store view. 1. Create a new simple product with different names per store view. 1. Create a new customer. 1. Obtain the customer authorization token. POST /rest/all/V1/integration/customer/token { \"username\": \"test@example.com\", \"password\": \"password\" } 1. Create a new quote for the customer using the authorization token. POST rest/default/V1/carts/mine 1. Add a product to the cart. POST /rest/default/V1/carts/mine/items { \"cartItem\": { \"sku\": \"simple1\", \"qty\": 1, \"quote_id\": \"1\" } } 1. Get the cart content for the default store view. GET rest/default/V1/carts/mine/ 1. Get the cart content for the new store view. GET rest/<store_view_2>/V1/carts/mine/","introducedInQpt":"1.1.16","createdFor":["2.4.3-p1"],"documentedRange":"2.4.3 - 2.4.4","scheduledFixRelease":"2.4.6"},"files":[{"package":"magento/magento2-base","constraint":">=2.4.0 <2.4.3","path":"patches/os/MDVA-44562_2.4.2.patch","blobSha":"d094163c7844bae32a3c0fdac535e36df35d9185","url":"https://raw.githubusercontent.com/magento/quality-patches/11d565bdde197b9c7bac859a5698e99098b48457/patches/os/MDVA-44562_2.4.2.patch","thirdParty":false,"modifies":[{"path":"vendor/magento/module-quote/Model/Quote/Plugin/UpdateQuoteStoreId.php","change":"added","package":"magento/module-quote"},{"path":"vendor/magento/module-quote/etc/webapi_rest/di.xml","change":"modified","package":"magento/module-quote"},{"path":"vendor/magento/module-quote/etc/webapi_soap/di.xml","change":"modified","package":"magento/module-quote"}],"packages":["magento/module-quote"],"hasTests":false,"applicableVersions":{"magento-community":["2.4.2-p2","2.4.2-p1","2.4.2","2.4.1-p1","2.4.1","2.4.0-p1","2.4.0"],"magento-commerce":["2.4.2-p2","2.4.2-p1","2.4.2","2.4.1-p1","2.4.1","2.4.0-p1","2.4.0"],"mage-os":[]},"unknownVersions":[],"requires":[],"replacedWith":null,"deprecated":false},{"package":"magento/magento2-base","constraint":">=2.4.3 <2.4.6","path":"patches/os/ACSD-46447_2.4.3-p2.patch","blobSha":"5fb684dee244f8fb2bc50797b8dbe1742f162b1d","url":"https://raw.githubusercontent.com/magento/quality-patches/11d565bdde197b9c7bac859a5698e99098b48457/patches/os/ACSD-46447_2.4.3-p2.patch","thirdParty":false,"modifies":[{"path":"vendor/magento/module-quote/Model/Quote/Plugin/UpdateQuoteStoreId.php","change":"modified","package":"magento/module-quote"}],"packages":["magento/module-quote"],"hasTests":false,"applicableVersions":{"magento-community":["2.4.5-p17","2.4.5-p16","2.4.5-p15","2.4.5-p14","2.4.5-p13","2.4.5-p12","2.4.5-p11","2.4.5-p10","2.4.5-p9","2.4.5-p8","2.4.5-p7","2.4.5-p6","2.4.5-p5","2.4.5-p4","2.4.5-p3","2.4.5-p2","2.4.5-p1","2.4.5","2.4.4-p18","2.4.4-p17","2.4.4-p16","2.4.4-p15","2.4.4-p14","2.4.4-p13","2.4.4-p12","2.4.4-p11","2.4.4-p10","2.4.4-p9","2.4.4-p8","2.4.4-p7","2.4.4-p6","2.4.4-p5","2.4.4-p4","2.4.4-p3","2.4.4-p2","2.4.4-p1","2.4.4","2.4.3-p3","2.4.3-p2","2.4.3-p1","2.4.3"],"magento-commerce":["2.4.5-p17","2.4.5-p16","2.4.5-p15","2.4.5-p14","2.4.5-p13","2.4.5-p12","2.4.5-p11","2.4.5-p10","2.4.5-p9","2.4.5-p8","2.4.5-p7","2.4.5-p6","2.4.5-p5","2.4.5-p4","2.4.5-p3","2.4.5-p2","2.4.5-p1","2.4.5","2.4.4-p18","2.4.4-p17","2.4.4-p16","2.4.4-p15","2.4.4-p14","2.4.4-p13","2.4.4-p12","2.4.4-p11","2.4.4-p10","2.4.4-p9","2.4.4-p8","2.4.4-p7","2.4.4-p6","2.4.4-p5","2.4.4-p4","2.4.4-p3","2.4.4-p2","2.4.4-p1","2.4.4","2.4.3-p3","2.4.3-p2","2.4.3-p1","2.4.3"],"mage-os":[]},"unknownVersions":[],"requires":[],"replacedWith":null,"deprecated":false}],"applicableVersions":{"magento-community":["2.4.5-p17","2.4.5-p16","2.4.5-p15","2.4.5-p14","2.4.5-p13","2.4.5-p12","2.4.5-p11","2.4.5-p10","2.4.5-p9","2.4.5-p8","2.4.5-p7","2.4.5-p6","2.4.5-p5","2.4.5-p4","2.4.5-p3","2.4.5-p2","2.4.5-p1","2.4.5","2.4.4-p18","2.4.4-p17","2.4.4-p16","2.4.4-p15","2.4.4-p14","2.4.4-p13","2.4.4-p12","2.4.4-p11","2.4.4-p10","2.4.4-p9","2.4.4-p8","2.4.4-p7","2.4.4-p6","2.4.4-p5","2.4.4-p4","2.4.4-p3","2.4.4-p2","2.4.4-p1","2.4.4","2.4.3-p3","2.4.3-p2","2.4.3-p1","2.4.3","2.4.2-p2","2.4.2-p1","2.4.2","2.4.1-p1","2.4.1","2.4.0-p1","2.4.0"],"magento-commerce":["2.4.5-p17","2.4.5-p16","2.4.5-p15","2.4.5-p14","2.4.5-p13","2.4.5-p12","2.4.5-p11","2.4.5-p10","2.4.5-p9","2.4.5-p8","2.4.5-p7","2.4.5-p6","2.4.5-p5","2.4.5-p4","2.4.5-p3","2.4.5-p2","2.4.5-p1","2.4.5","2.4.4-p18","2.4.4-p17","2.4.4-p16","2.4.4-p15","2.4.4-p14","2.4.4-p13","2.4.4-p12","2.4.4-p11","2.4.4-p10","2.4.4-p9","2.4.4-p8","2.4.4-p7","2.4.4-p6","2.4.4-p5","2.4.4-p4","2.4.4-p3","2.4.4-p2","2.4.4-p1","2.4.4","2.4.3-p3","2.4.3-p2","2.4.3-p1","2.4.3","2.4.2-p2","2.4.2-p1","2.4.2","2.4.1-p1","2.4.1","2.4.0-p1","2.4.0"],"mage-os":[]},"conditions":null,"requirements":null},"_documentation":"https://magento.watch/api","_description":"Quality patch MDVA-44562 details"}