{"data":{"id":"MDVA-42806","source":"qpt","sourceRef":"magento/quality-patches@1.1.84","title":"Fixes the issue where a “New company registration” email is sent each time an existing company is updated via REST API.","categories":["B2B","Web API"],"components":["magento/module-company"],"origin":"adobe-commerce-support","documentation":{"url":"https://experienceleague.adobe.com/en/docs/commerce-operations/tools/quality-patches-tool/patches-available-in-qpt/v1-1-9/mdva-42806-new-company-registration-email-sent-when-existing-company-updated","path":"help/tools/quality-patches-tool/patches-available-in-qpt/v1-1-9/mdva-42806-new-company-registration-email-sent-when-existing-company-updated.md","blobSha":"ed9b4d48f48c8b3627dcb4e2927e665805c2dcd0","description":"A new company registration email is sent each time an existing company is updated via REST API.","stepsToReproduce":"1. Create a company account. 1. Use /V1​/company​/<company_id> endpoint. To update the created company, see update the company in our developer documentation. Below is a sample payload: { \"company\": { \"id\": 2, \"status\": 1, \"company_name\": \"Company\", \"company_email\": \"company@example.test\", \"street\": [ \"Test\" ], \"city\": \"Test\", \"country_id\": \"US\", \"region_id\": \"1\", \"postcode\": \"12345\", \"telephone\": \"8009994301\", \"customer_group_id\": 2, \"sales_representative_id\": 1, \"super_user_id\": 2 } }","introducedInQpt":"1.1.9","createdFor":["2.4.3"],"documentedRange":"2.4.2 - 2.4.3-p1","scheduledFixRelease":"2.4.5"},"files":[{"package":"magento/magento2-b2b-base","constraint":">=1.3.1 <1.3.4","path":"patches/commerce/MDVA-42806_1.3.2.patch","blobSha":"780c5f34b192d0a4a8c36d4ff5d09c9558e62df0","url":"https://raw.githubusercontent.com/magento/quality-patches/11d565bdde197b9c7bac859a5698e99098b48457/patches/commerce/MDVA-42806_1.3.2.patch","thirdParty":false,"modifies":[{"path":"vendor/magento/module-company/Plugin/Company/Model/EmailNotification.php","change":"modified","package":"magento/module-company"}],"packages":["magento/module-company"],"hasTests":false,"applicableVersions":{"magento-community":[],"magento-commerce":["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"],"mage-os":[]},"unknownVersions":[],"requires":[],"replacedWith":null,"deprecated":false}],"applicableVersions":{"magento-community":[],"magento-commerce":["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"],"mage-os":[]},"conditions":null,"requirements":null},"_documentation":"https://magento.watch/api","_description":"Quality patch MDVA-42806 details"}