customer.password_reset

The customer.password_reset event gets triggered whenever the user requests a password reset. This will trigger the event and will contain the Password reset token which will be used to reset the password.

{
    "type": "customer.PasswordResetRequestSubmitted",
    "id": "evt_ijVgcTG5DvvMiBvAbfZE0ER9",
    "created": 1624529945,
    "data": {
        "object": {
            "object": "customer",
            "id": 64,
            "balance": 0,
            "created": "2021-06-24 10:16:11",
            "currency": null,
            "default_source": null,
            "delinquent": false,
            "display_name": "display_name",
            "email": "[email protected]",
            "email_confirm": null,
            "first_name": "first name",
            "has_password": 0,
            "language": null,
            "last_name": "last name",
            "metadata": {
                "pelcro_account_id": "1",
                "pelcro_customer_id": "64"
            },
            "phone": "12345678",
            "phone_confirm": null,
            "salutation": "salutation",
            "site_id": 1,
            "title": "title",
            "password_reset_token": "75699727854dcb4f6f57a5faa8dffe9f9b493c2206140e241f101baa631f0c8b"
        }
    }
}