Skip to content

Creates a password reset code for a member

Request

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
Headers
Connect-Region-Codestring

Region Code

Bodyrequired

Details to create a password reset code

emailstring or null

Gets the email address

usernamestring or null

Gets the username

languageTagstring or null

Gets the IETF (RFC 4646) language tag

Example:"en-US"
curl -i -X POST \
  https://developer.vista.co/_mock/openapi/digital-platform/openapi/ocapi/v1/members/password-reset-code \
  -H 'Connect-Region-Code: string' \
  -H 'Content-Type: application/json' \
  -d '{
    "email": "string",
    "username": "string",
    "languageTag": "en-US"
  }'

Responses

Password reset code created and emailed to the member.