Skip to content
Saleor
Esc
↑↓navigate↵open⌘Jpreview

Schema: Saleor 3.23.43Download SDLUpgrade guides

On this page

requestPasswordReset Mutation

Sends an email with the account password modification link.

Triggers the following webhook events:

  • NOTIFY_USER (async): A notification for password reset.
  • ACCOUNT_SET_PASSWORD_REQUESTED (async): Setting a new password for the account is requested.
  • STAFF_SET_PASSWORD_REQUESTED (async): Setting a new password for the staff account is requested.

Applied directives

@webhookEventsInfo(asyncEvents: [NOTIFY_USER, ACCOUNT_SET_PASSWORD_REQUESTED, STAFF_SET_PASSWORD_REQUESTED], syncEvents: [])
requestPasswordReset(channel: String, email: String!, redirectUrl: String!): RequestPasswordReset

Returns

RequestPasswordReset

Show return type
type RequestPasswordReset {
  accountErrors: [AccountError!]! @deprecated(reason: "Use `errors` field instead.")
  errors: [AccountError!]!
}

Arguments

channel

channel · String

Slug of a channel which will be used to notify the user. It is needed for customers, if not provided, the notification may not happen. Please note that mutation will not fail if the channel is not provided.

email

email · String!

Email of the user that will be used for password recovery.

redirectUrl

redirectUrl · String!

URL of a view where users should be redirected to reset the password. URL in RFC 1808 format.


Schema: Saleor 3.23.43. Download SDL.

Last updated on April 13, 2026

Was this page helpful?