Confirm a storefront customer password reset

Sets a new `password` with the `token` from a password reset email. The email is marked verified and every earlier session token stops working, so the customer signs in again with `POST /customers/login`. Returns 200 `{ ok: true }`. An invalid, expired or used link returns 400 `VERIFICATION_LINK_INVALID`. After ten failed attempts from one client, sign-ins included, further attempts return 429 `RATE_LIMIT_EXCEEDED` with a `Retry-After` header for up to 15 minutes. > **Note:** Available only on sites with e-commerce enabled.

Required access
Send
  • Publishable keyX-Lynkow-Pk
Site access
POST/customers/password-reset/confirm
Base URLhttps://api.lynkow.com/storefront/{siteId}

Request body
required

  • password
    string
    required

    Required. 8-100 characters

  • token
    string
    required

    Required. Min 1 character

Feedback

Was this page helpful?