Skip to main content
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": { "email": "[email protected]", "firstname": "firstname new", "lastn
Source Link
Kirti Nariya
  • 3.1k
  • 2
  • 24
  • 53

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": {
     "email": "[email protected]",
     "firstname": "firstname new",
     "lastname":  "lastname new",
     "website_id": 1
   }
}

Also when pass the customer Email Id then response is throwing below error.

Response:

{
    "message": "A customer with the same email address already exists in an associated website."
}

Github Issue URL: https://github.com/magento/magento2/issues/24625

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": {
     "email": "[email protected]",
     "firstname": "firstname new",
     "lastname":  "lastname new",
     "website_id": 1
   }
}

Also when pass the customer Email Id then response is throwing below error.

Response:

{
    "message": "A customer with the same email address already exists in an associated website."
}

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": {
     "email": "[email protected]",
     "firstname": "firstname new",
     "lastname":  "lastname new",
     "website_id": 1
   }
}

Also when pass the customer Email Id then response is throwing below error.

Response:

{
    "message": "A customer with the same email address already exists in an associated website."
}

Github Issue URL: https://github.com/magento/magento2/issues/24625

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": { "email": "[email protected]", "firstname": "firstname new", "lastn
Source Link
Kirti Nariya
  • 3.1k
  • 2
  • 24
  • 53

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": {
     "email": "[email protected]",
     "firstname": "firstname new",
     "lastname":  "lastname new",
     "website_id": 1
   }
}

Also when pass the customer Email Id then response is throwing below error.

Response:

{
    "message": "A customer with the same email address already exists in an associated website."
}

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": {
     "email": "[email protected]",
     "firstname": "firstname new",
     "lastname":  "lastname new",
     "website_id": 1
   }
}

Also when pass the customer Email Id then response is throwing below error.

Response:

{
    "message": "A customer with the same email address already exists in an associated website."
}

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": {
     "email": "[email protected]",
     "firstname": "firstname new",
     "lastname":  "lastname new",
     "website_id": 1
   }
}

Also when pass the customer Email Id then response is throwing below error.

Response:

{
    "message": "A customer with the same email address already exists in an associated website."
}
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": { "email": "[email protected]", "firstname": "firstname new", "last
Source Link
Kirti Nariya
  • 3.1k
  • 2
  • 24
  • 53

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": {
     "email": "[email protected]",
     "firstname": "firstname new",
     "lastname":  "lastname new",
     "website_id": 1
   }
}

Also when pass the customer Email Id then response is throwing below error.

Response:

{
    "message": "A customer with the same email address already exists in an associated website."
}

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": {
     "email": "[email protected]",
     "firstname": "firstname new",
     "lastname":  "lastname new",
     "website_id": 1
   }
}

Also when pass the customer Email Id then response is throwing below error.

Response:

{
    "message": "A customer with the same email address already exists in an associated website."
}

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": {
     "email": "[email protected]",
     "firstname": "firstname new",
     "lastname":  "lastname new",
     "website_id": 1
   }
}

Also when pass the customer Email Id then response is throwing below error.

Response:

{
    "message": "A customer with the same email address already exists in an associated website."
}
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": { "email": "[email protected]", "firstname": "firstname new", "las
Source Link
Kirti Nariya
  • 3.1k
  • 2
  • 24
  • 53
Loading
Source Link
Kirti Nariya
  • 3.1k
  • 2
  • 24
  • 53
Loading