Questions tagged [customer-update]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2 votes
1 answer
209 views

Cannot set customer group and creating address for customers right after register on Magento 2.3.4

I'm trying to update customers right after they register on the platform but I'm having some difficulties saving the data. What I'm trying to do is to add customers to groups based on their country, ...
user avatar
0 votes
1 answer
144 views

Magento2 - Exception occurs when I update customer data using customer repository

Error: Invalid value of UK provided for the countryId field. Error File: vendor\\magento\\module-customer\\Model\\ResourceModel\\AddressRepository.php Error line: 133 Code is: $customer = $this-&...
user avatar
1 vote
1 answer
983 views

Magento 2: Rest API "PUT" method Customer is not updated

Rest API for updating customer PUT method not working. Every time creating new customer. Method: PUT Request URL: http://localhost/magento/rest/en/V1/customers/55 Body: { "customer": { ...
user avatar
  • 3,179