Open wubinworks opened 1 month ago
Hi @wubinworks. Thank you for your report. To speed up processing of this issue, make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce.
@magento I am working on this
Join Magento Community Engineering Slack and ask your questions in #github channel. :warning: According to the Magento Contribution requirements, all issues must go through the Community Contributions Triage process. Community Contributions Triage is a public meeting. :clock10: You can find the schedule on the Magento Community Calendar page. :telephone_receiver: The triage of issues happens in the queue order. If you want to speed up the delivery of your contribution, join the Community Contributions Triage session to discuss the appropriate ticket.
Hi @engcom-Bravo. Thank you for working on this issue. In order to make sure that issue has enough information and ready for development, please read and check the following instruction: :point_down:
Area: XXXXX
label to the ticket, indicating the functional areas it may be related to.2.4-develop
branch2.4-develop
branch, please, add the label Reproduced on 2.4.x
.Issue: Confirmed
once verification is complete. Hi @wubinworks,
Thanks for your reporting and collaboration.
We have verified the issue in Latest 2.4-develop instance and seems to be an improvement to proceed further we are considering this as Feature Request.
Thanks.
@engcom-Bravo
At least for disable_auto_group_change
attribute.
Please read the official document.
If enabled, you can override VAT ID Validation for individual customers by selecting the checkbox on the Customer Information page.
That's what the checkbox controls. In no way should the customer be able to change this attribute by itself, even via WebAPI. If the customer can change, it may result in incorrect tax payment.
PS: a similar issue, 2.4.6 -> 2.4.7, Magento fixed the ability to change created_at
attribute.
See v2.4.7 CustomerRepository.php#Line218. You can compare with v2.4.6
Preconditions and environment
Steps to reproduce
<CUSTOMER TOKEN>
as described in office document.Output body: { "id": 1, "email": "user@example.com", "firstname":"Firstname", "lastname":"Lastname", ... "disable_auto_group_change": 0, "created_in": "Default Store View", "extension_attributes": { "is_subscribed": false } ... }
curl --request PUT 'https:///rest/V1/customers/me' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json' \
--data-raw '{
"customer": {
"id": 1,
"email": "user@example.com",
"firstname":"Firstname",
"lastname":"Lastname",
"disable_auto_group_change": 1,
"created_in": "Changed",
"confirmation": "Hello",
"extension_attributes": {
"is_subscribed": true
}
}
}'
curl --request GET 'https:///rest/V1/customers/me' \
--header 'Authorization: Bearer '
Output body: { "id": 1, "email": "user@example.com", "firstname":"Firstname", "lastname":"Lastname", ... "disable_auto_group_change": 1, "created_in": "Changed", "confirmation": "Hello", "extension_attributes": { "is_subscribed": true } ... }