Body
-
If empty value given then the customer will be matched by the RP token.
POST /V1/customers/resetPassword
curl \
-X POST https://magento2.winkelstraat.mac/rest/all/V1/customers/resetPassword \
-d '{"email":"string","resetToken":"string","newPassword":"string"}'
Request examples
{
"email": "string",
"resetToken": "string",
"newPassword": "string"
}
Response examples (200)
true
Response examples (500)
{
"message": "string",
"errors": [
{
"message": "string",
"parameters": [
{
"resources": "string",
"fieldName": "string",
"fieldValue": "string"
}
]
}
],
"code": 42,
"parameters": [
{
"resources": "string",
"fieldName": "string",
"fieldValue": "string"
}
],
"trace": "string"
}
Response examples (default)
{
"message": "string",
"errors": [
{
"message": "string",
"parameters": [
{
"resources": "string",
"fieldName": "string",
"fieldValue": "string"
}
]
}
],
"code": 42,
"parameters": [
{
"resources": "string",
"fieldName": "string",
"fieldValue": "string"
}
],
"trace": "string"
}