Creates a password reset code for a member

Successful response returned regardless of the existence of the provided email/username in Loyalty.

An email with further instructions for completing the request will be sent to the member

Licenses Required

  • Vista.Ocapi
Request
header Parameters
Connect-Region-Code
string

Region Code

Request Body schema:
required

Details to create a password reset code

email
string or null

Gets the email address

username
string or null

Gets the username

Responses
204

Password reset code created and emailed to the member.

400

Request property is invalid or missing.

post/ocapi/v1/members/password-reset-code
Request samples
{
  • "email": "string",
  • "username": "string"
}