Although the API documentation does not say anything about changing the client password, you can really change the client password using the endpoint PUT / admin / customers / # {id} .json. Please note that my answer is for customers only, not for users.
, . .
:
PUT/admin/customers/5206361102.json
{
"customer": {
"id": 5206361102,
"password": "mypass2",
"password_confirmation": "mypass2"
}
}
, GET/admin/customers/search.json, .
, :
GET/admin/customers/search.json?query=email:customeremail@customerdomain.com
:
{
"customer": {
"id": 5206556238,
... other parameters ...
}
}
@spviradiya , , .