Questions tagged [customer-update]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2 votes
1 answer
690 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, ...
Cristian's user avatar
0 votes
1 answer
619 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-&...
Ghulam Akbar's user avatar
1 vote
1 answer
1k 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": { ...
Kirti Nariya's user avatar
  • 3,421