cancel
Showing results for 
Search instead for 
Did you mean: 

How to disable shop Customer & Administrator using rest API ?

How to disable shop Customer & Administrator using rest API ?

Hello,

1) I want to disable(not delete) the customer & administrator of shop using rest API. I try to find API but not found any solution. 
2) I also do same to change password using API.
I try this: /V1/customers/{id} and pass the  "passwordHash": "string"  as mentioned in http://devdocs.magento.com/swagger/ customerCustomerRepositoryV1 with PUT method. Its updates all other details other than password.


Thanks.

1 REPLY 1

Re: How to disable shop Customer & Administrator using rest API ?

You can use Disable Customer developed by "STee" to easily deactivate a customer access on the frontend website, and of-course you can always reactivate them. Once deactivated, no data will be erased from the customer account.It also provides support for APIs aswell.