Since, I have worked with magento get method api calls but yet didn't work on post or put method. I am trying to update customers to update their profile in mobile app.

public function update($id){

    $customer = $this->customerRepository->getById($id);






    //printing result
            echo "<pre>";


I need to change customers details themeseleves. I don't want to add addmin token I want to add customer token

Your Answer

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

Browse other questions tagged or ask your own question.