vue-storefront
vue-storefront copied to clipboard
[My Account] customerUpdateMe payload contains redundant data
trafficstars
Regardless whether customer wants to update just their names or specific address, the whole set of data is being set as a payload (names, email, shipping and billing address).
Expected result
Only changed set of data should be sent as body in customerUpdateMe request
Actual result
The whole set of data is being set
Steps to reproduce
- Log in as a customer
- Go to My Account
- Change Personal Data, e.g. first name and submit form
- Inspect request in devtools network tab