Skip to main content
POST
/
commerce
/
customer
/
accounts
/
{accountId}
/
Change-Password
Error
A valid request URL is required to generate request examples

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme.

Path Parameters

accountId
integer<int32>
required

Unique identifier of the shopper for whom to change the password.

Query Parameters

unlockAccount
boolean
default:false

inidicates that the account should be unlocked on a successful password change.

userId
string
responseFields
string

limits which fields are returned in the response body

Body

application/json

Old password and new password.

Old password and new password.

oldPassword
string | null

Old password.

newPassword
string | null

New password.

externalPassword
string | null

The External Password, typically used for imports in conjunction with a custom action

Response

200

Success