Skip to main content
Sends a password reset email to the customer. The email contains a link to reset their password.

Parameters

Returns

Promise<void>

Throws

  • Error - If the email is invalid or not found.

Examples

Basic password recovery

Forgot password form

The reset email is sent by Shopify and uses your store’s email templates. Customize the template in Shopify Admin → Settings → Notifications.