Skip to content

Change the password

POST/store/v1/customers/me/password
  • Idempotency-Key supported

Change the password. Other sessions are signed out; this one stays.

Headers

  • X-Customer-Tokenstringrequired

    Customer session token

  • Idempotency-Keystring

    Send the same key to retry safely: the first answer is replayed for 24 hours.

  • shop-api-versionYYYY-MM

    The version to answer in. Without it, your app’s pinned version, else the newest.

Body

  • current_passwordstringrequired
  • new_passwordstringrequired

    12–128 characters.

Returns

204 Password changed.

Errors

  • 401unauthenticatedNo valid customer session.
  • 422validation_failedWrong current password or weak new password.
  • 429rate_limitedToo many attempts.