Updates the password of the currently authenticated member

Licenses Required

  • Vista.Ocapi
Request
header Parameters
loyaltySessionToken
string

Current Loyalty session token, represents a 'signed-in' member

Connect-Region-Code
string

Region Code

Request Body schema:
required

Updated password and logged in member's current password for verification

password
required
string non-empty

Gets the new password

currentPassword
required
string non-empty

Gets the current password of the member

Responses
204

Member password updated.

400

Request property is invalid or missing, or password validation failed.

401

No member authenticated.

put/ocapi/v1/members/current/credentials/password
Request samples
{
  • "password": "string",
  • "currentPassword": "string"
}