ACSD-60441: Updating customers via V1/customers REST API endpoint when using the integration access…
Updating customers via V1/customers REST API endpoint when using the integration access token generated from the backend throws an error. Quality patch ACSD-60441 for magento/module-customer applies to Magento Open Source and Adobe Commerce 2.4.4-p9 to 2.4.7-p1.
- Categories
- Web API, Customer
- Components
- magento/module-customer
- Origin
- adobe-commerce-support
- Since QPT
- 1.1.50
Issue
Updating customers via V1/customers REST API endpoint when using the integration access token generated from the backend throws an error.
Steps to reproduce
1. Create an integration from the Admin. 1. Send a POST request to rest/default/V1/customers/<customer_id> using the integration token. { "customer": { "email": "roni_cost@example.com", "firstname": "Veronica", "lastname": "Costello" } }
Adobe's page lists 2.4.4-p9, 2.4.5-p8, 2.4.6-p6, 2.4.7-p1 as compatible; the versions below are resolved from the current QPT constraints and are the ones the tool will offer.
Adobe scheduled the permanent fix for 2.4.8.
Install
Install the Quality Patches Tool with composer require magento/quality-patches, apply the prerequisites listed for all files applicable to your distribution and version first, then run vendor/bin/magento-patches apply ACSD-60441. On Cloud, add ACSD-60441 under stage.build.QUALITY_PATCHES in .magento.env.yaml.
For cweagans/composer-patches, choose a compatible version below and download the bundle. Copy its ACSD-60441/ folder into patches/composer/, merge composer.patches.json into composer.json, then run composer install. Bundle prerequisites the same way and list them first. Paths are relative to each package root, using the default -p1 level. Prefer local files when configuring composer-patches; a remote URL can change.
Patch files and compatible versions
magento/magento2-base 2.4.4-p9 || 2.4.5-p8 || 2.4.6-p6 || 2.4.7-p1
- Patch file
- patches/os/ACSD-60441_2.4.5-p8.patch
- vendor/magento/module-customer/Model/Plugin/UpdateCustomer.php
