> For the complete Lynkow documentation index in agent-friendly format, see [llms.txt](/llms.txt).

# Request a storefront customer password reset

**Published**: 2026-11-30
**Category**: Commerce

## `POST /customers/password-reset/request`

**Request a storefront customer password reset**

Sends a password reset link to a customer's email address. Send `email` and an
optional `locale`.

Returns 200 `{ ok: true }` whether or not the address has an account, and 422 for an
invalid `email`. Only an account with a password receives the email, with a link
valid for 60 minutes, unless the store changed that customer's email in the last 72
hours. A repeat request within five minutes sends no new one. The email uses the customer's stored preferred language when there
is one, otherwise `locale`. Complete the reset with
`POST /customers/password-reset/confirm`.

> **Note:** Available only on sites with e-commerce enabled.

### Request Body

Content-Type: `application/json`

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `email` | string | Yes | Required. Valid email address |
| `locale` | string | No | Language of the reset email when the customer has no stored preferred language, never rejected; the site default when omitted. Unsupported email languages fall back to the base language (`pt-BR` to `pt`), then English. |
| `recaptchaToken` | string | No | Verification token, required when the site uses CAPTCHA. A v3 token needs this operation's action. |
| `_hp` | string | No | Spam-trap field that must remain empty when the site uses honeypot protection. |
| `_ts` | integer | No | Form-load Unix timestamp in milliseconds when the site uses honeypot protection. |


### Responses

| Status | Description |
| --- | --- |
| `200` | Successful response |
| `400` | Spam protection failed: the `_ts` timestamp is too old, or the verification token is missing or invalid. |
| `401` | Missing or invalid storefront publishable key |
| `402` | The site subscription does not currently permit this operation |
| `403` | The storefront key origin is not allowed |
| `404` | Site, resource, or commerce feature not found |
| `422` | Validation error |
| `429` | Rate limit exceeded, or the `_ts` timestamp is missing, malformed or too recent. |


> **Notes:** A v3 token uses the action `password_reset_request`. With honeypot
> protection, `_ts` is required even when the `_hp` check is off.

### SDK

```typescript
import { createClient } from 'lynkow'

const lynkow = createClient({
  siteId: process.env.LYNKOW_SITE_ID!,
  publishableKey: process.env.LYNKOW_PK,
})

await lynkow.customers.passwordReset.request({ email: 'alice@example.com' })
// Same message on every outcome: never branch on whether the email is known.
show('If this address has an account, a reset link is on its way.')
```

---