vue-storefront icon indicating copy to clipboard operation
vue-storefront copied to clipboard

[My Account] customerUpdateMe payload contains redundant data

Open sync-by-unito[bot] opened this issue 4 years ago • 0 comments
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

  1. Log in as a customer
  2. Go to My Account
  3. Change Personal Data, e.g. first name and submit form
  4. Inspect request in devtools network tab

sync-by-unito[bot] avatar Oct 22 '21 10:10 sync-by-unito[bot]