By default this method returns an empty JSON , i want to how to return some response such as "correct" or "fail" , for example

1 Answer 1


The easiest way, or at least how this part was designed to be used in Magento, is to check for the HTTP response code for success/failures, and use the Location in the response header to make another call to retrieve the newly created customer details.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.