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-TokenstringrequiredCustomer session token
Idempotency-KeystringSend the same key to retry safely: the first answer is replayed for 24 hours.
shop-api-versionYYYY-MMThe version to answer in. Without it, your app’s pinned version, else the newest.
Body
current_passwordstringrequirednew_passwordstringrequired12–128 characters.
Returns
204 Password changed.
Errors
- 401
unauthenticatedNo valid customer session. - 422
validation_failedWrong current password or weak new password. - 429
rate_limitedToo many attempts.