Admin API 2021-10 Orders endpoint is throwing the following error for already existing user
{\"customer\":[\"Email has already been taken\"]}
This problem was not there before. Does anyone know if something changed recently API-wise?
Admin API 2021-10 Orders endpoint is throwing the following error for already existing user
{\"customer\":[\"Email has already been taken\"]}
This problem was not there before. Does anyone know if something changed recently API-wise?
You have raised beneficial content. The way you explained the content is very impressive. I am also providing MEP Estimating Services throughout the country. Mechanical Estimating Services, Electrical Estimating Services, Electrical Estimating Outsourcing.
Hey @kushalst - thanks for getting in touch.In most cases, the reason why this error would appear is if the request payload is trying to create a new customer (with a separate GID) using the same email address as a pre-existing customer with an account on the store.
This would only appear if you’re trying to create a new customer with the same email as a pre-existing customer. If this is happening and the customer ID matches one for a customer that’s already on the store if shouldn’t show this error. As far as I know, there hasn’t been anything changed when it comes to how our Admin APIs work.
This error is expected when using an email that’s already associated with a customer and where the ID doesn’t match. That said, if you’re seeing this error for an account that already exists, using the right email, we can for sure take a look. If that’s the case, could you share the response X-Request-ID from the response header?
With that request ID, we’d be able to pull logs on our end and investigate why this may be happening, if that’s the case.
Hope this helped provide some context around this, happy to keep digging into this if need be.