Skip to content

Forgot Password Store

Request a password reset OTP for a store account.

Endpoint

POST /v1/accounts/forget/password/store/

Authentication

Not required (public endpoint)

Request Body

{
  "email": "store@example.com"
}

Parameters

Field Type Required Description Validation
email string Yes Store's email address Valid email format

Response

Success (200 OK)

{
  "message": "Verification code sent to email"
}

A 6-digit OTP code is sent to the store's email. Use this OTP with Confirm Forgot Password Store to reset the password.

Error Responses

Store Not Found (404)

{
  "error": "Store Not Found"
}

Example Request

curl -X POST "https://api.luxmart.site/v1/accounts/forget/password/store/" \
  -H "Content-Type: application/json" \
  -d '{
    "email": "store@example.com"
  }'

Notes

  • A new OTP is generated and stored for the store
  • Previous OTP is replaced
  • OTP is sent asynchronously via email
  • All store tokens are invalidated after password reset