Updates the email address 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 email address and logged in member's current password for verification

email
required
string non-empty

Gets the new email address

currentPassword
required
string non-empty

Gets the current password of the member

Responses
204

Member email updated.

400

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

401

No member authenticated.

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