MageSmith
MutationCustomer · Magento 2.4.9

requestPasswordResetEmail

requestPasswordResetEmail is a Magento 2 GraphQL mutation in the Customer module. Request an email with a reset password token for the registered customer identified by the specified email. It returns Boolean and requires an Authorization header (Bearer customer token).

Last verified: against Magento 2.4.9.

Returns

Boolean

Resolver class

\Magento\CustomerGraphQl\Model\Resolver\RequestPasswordResetEmail

Arguments

email String! Required

The customer's email address.

Example request

Auto-generated from the SDL — paste-ready against your store's /graphql endpoint. Replace the host, store code, and any required values before running.

Headers

Content-Type
application/json
Store
default store view code; use 'default' for the single-store baseline
Authorization
Bearer <CUSTOMER_TOKEN> obtain from generateCustomerToken mutation

Query

mutation ($email: String!) {
  requestPasswordResetEmail(email: $email)
}

Variables

{
  "email": ""
}

Every Magento dev tool, in one hosted workspace.

Free to sign up. Nothing to install. Drafts, audits, and projects saved across every tool.