Situation:
We've got this WP Multisite with both sites Woo enabled.
A specific customer is active on Site 1 and Site 2. But when we do the following we receive an unexpected answer.
What we do
POST with endpoint customers with the e-mail address of the already excisting customer. We receive an error from the API registration-error-email-exists
We've got this covered because it happens more often. So now we fire a GET to the endpoint customers with the exact same e-mail address. Now we receive a 'false'
!?!? confused ;-)
What we try to do
When an e-mail address already exists we try to GET the customer to retrieve the id so we can match it and update it with the right id.
Situation: We've got this WP Multisite with both sites Woo enabled.
A specific customer is active on Site 1 and Site 2. But when we do the following we receive an unexpected answer.
What we do POST with endpoint customers with the e-mail address of the already excisting customer. We receive an error from the API registration-error-email-exists
We've got this covered because it happens more often. So now we fire a GET to the endpoint customers with the exact same e-mail address. Now we receive a 'false'
!?!? confused ;-)
What we try to do When an e-mail address already exists we try to GET the customer to retrieve the id so we can match it and update it with the right id.