{"data":{"id":"MDVA-39993","source":"qpt","sourceRef":"magento/quality-patches@1.1.84","title":"Fixes the issue where inventory changes done through API do not reflect on the product page on the storefront.","categories":["Inventory"],"components":["magento/module-inventory-catalog"],"origin":"adobe-commerce-support","documentation":{"url":"https://experienceleague.adobe.com/en/docs/commerce-operations/tools/quality-patches-tool/patches-available-in-qpt/v1-1-12/mdva-39993-inventory-changes-done-through-api-are-not-reflected-on-the-frontend","path":"help/tools/quality-patches-tool/patches-available-in-qpt/v1-1-12/mdva-39993-inventory-changes-done-through-api-are-not-reflected-on-the-frontend.md","blobSha":"dddc32930d96e3bd89a4a93cb8814c7062216328","description":"The inventory changes done through API are not reflected on the storefront product page.","stepsToReproduce":"1. Make sure the queue is set to execute with cron and cron is installed and running. 1. Create a configurable product (COC001), with two colors (Black and Red), and two sizes (M and L). 1. Make one option out of stock (COC001-Red-M). 1. Load the configurable product page on the storefront and try clicking on each color. When you click Red, the size M should be crossed out because it is out of stock. 1. Make COC001-Red-M in stock using the following API endpoint and the payload: POST http://{domain}/rest/V1/inventory/source-items { \"sourceItems\": [ { \"sku\": \"COC001-Red-M\", \"source_code\": \"default\", \"quantity\": 1000, \"status\": 1 } ] } 1. Check this simple product from the backend and verify that it is updated to In Stock. 1. Load the configurable product from the frontend and click on each color. Notice the size M when you click on Red.","introducedInQpt":"1.1.12","createdFor":["2.4.2-p1"],"documentedRange":"2.3.5 - 2.3.7-p2, and 2.4.0 - 2.4.3-p1","scheduledFixRelease":"2.4.5"},"files":[{"package":"magento/inventory-composer-metapackage","constraint":">=1.1.5 <=1.1.7","path":"patches/os/MDVA-39993_1.1.5.patch","blobSha":"2ff9317b07e7578f15058bb9a1b5479e1a621e4c","url":"https://raw.githubusercontent.com/magento/quality-patches/11d565bdde197b9c7bac859a5698e99098b48457/patches/os/MDVA-39993_1.1.5.patch","thirdParty":false,"modifies":[{"path":"vendor/magento/module-inventory-catalog/Model/SourceItemsSaveSynchronization/SetDataToLegacyCatalogInventory.php","change":"modified","package":"magento/module-inventory-catalog"}],"packages":["magento/module-inventory-catalog"],"hasTests":false,"applicableVersions":{"magento-community":["2.3.7-p3","2.3.7-p2","2.3.7-p1","2.3.7","2.3.6-p1","2.3.6","2.3.5-p2","2.3.5-p1","2.3.5"],"magento-commerce":["2.3.7-p3","2.3.7-p2","2.3.7-p1","2.3.7","2.3.6-p1","2.3.6","2.3.5-p2","2.3.5-p1","2.3.5"],"mage-os":[]},"unknownVersions":["2.4.9","2.4.8-p5","2.4.8-p4","2.4.8-p3","2.4.8-p2","2.4.8-p1","2.4.8","2.4.7-p10","2.4.7-p9","2.4.7-p8","2.4.7-p7","2.4.7-p6","2.4.7-p5","2.4.7-p4","2.4.7-p3","2.4.7-p2","2.4.7-p1","2.4.7","2.4.6-p15","2.4.6-p14","2.4.6-p13","2.4.6-p12","2.4.6-p11","2.4.6-p10","2.4.6-p9","2.4.6-p8","2.4.6-p7","2.4.6-p6","2.4.6-p5","2.4.6-p4","2.4.6-p3","2.4.6-p2","2.4.6-p1","2.4.6","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","2.3.0"],"requires":[],"replacedWith":"MDVA-39993-V2","deprecated":false},{"package":"magento/inventory-metapackage","constraint":">=1.2.0 <1.2.2","path":"patches/os/MDVA-39993_1.2.0.patch","blobSha":"e61e9d1c3d730cf1e4cdc623e46000850d2da87b","url":"https://raw.githubusercontent.com/magento/quality-patches/11d565bdde197b9c7bac859a5698e99098b48457/patches/os/MDVA-39993_1.2.0.patch","thirdParty":false,"modifies":[{"path":"vendor/magento/module-inventory-catalog/Model/SourceItemsSaveSynchronization/SetDataToLegacyCatalogInventory.php","change":"modified","package":"magento/module-inventory-catalog"}],"packages":["magento/module-inventory-catalog"],"hasTests":false,"applicableVersions":{"magento-community":["2.4.1-p1","2.4.1","2.4.0-p1","2.4.0"],"magento-commerce":["2.4.1-p1","2.4.1","2.4.0-p1","2.4.0"],"mage-os":[]},"unknownVersions":["2.3.7-p4","2.3.7-p3","2.3.7-p2","2.3.7-p1","2.3.7","2.3.6-p1","2.3.6","2.3.5-p2","2.3.5-p1","2.3.5","2.3.4-p2","2.3.4-p1","2.3.4","2.3.3-p2","2.3.3","2.3.2-p2","2.3.2-p1","2.3.2","2.3.1","2.3.0"],"requires":[],"replacedWith":"MDVA-39993-V2","deprecated":false},{"package":"magento/inventory-metapackage","constraint":">=1.2.2 <1.2.4","path":"patches/os/MDVA-39993_1.2.2.patch","blobSha":"9dd3c64efd5990084cf52a17eaf0e65b548396b2","url":"https://raw.githubusercontent.com/magento/quality-patches/11d565bdde197b9c7bac859a5698e99098b48457/patches/os/MDVA-39993_1.2.2.patch","thirdParty":false,"modifies":[{"path":"vendor/magento/module-inventory-catalog/Model/SourceItemsSaveSynchronization/SetDataToLegacyCatalogInventory.php","change":"modified","package":"magento/module-inventory-catalog"}],"packages":["magento/module-inventory-catalog"],"hasTests":false,"applicableVersions":{"magento-community":["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"],"magento-commerce":["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"],"mage-os":[]},"unknownVersions":["2.3.7-p4","2.3.7-p3","2.3.7-p2","2.3.7-p1","2.3.7","2.3.6-p1","2.3.6","2.3.5-p2","2.3.5-p1","2.3.5","2.3.4-p2","2.3.4-p1","2.3.4","2.3.3-p2","2.3.3","2.3.2-p2","2.3.2-p1","2.3.2","2.3.1","2.3.0"],"requires":["MDVA-41061-V4","MDVA-40488"],"replacedWith":"MDVA-39993-V2","deprecated":false}],"applicableVersions":{"magento-community":["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","2.3.7-p3","2.3.7-p2","2.3.7-p1","2.3.7","2.3.6-p1","2.3.6","2.3.5-p2","2.3.5-p1","2.3.5"],"magento-commerce":["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","2.3.7-p3","2.3.7-p2","2.3.7-p1","2.3.7","2.3.6-p1","2.3.6","2.3.5-p2","2.3.5-p1","2.3.5"],"mage-os":[]},"conditions":null,"requirements":null},"_documentation":"https://magento.watch/api","_description":"Quality patch MDVA-39993 details"}