Forgot Password Store
Request a password reset OTP for a store account.
Endpoint
Authentication
Not required (public endpoint)
Request Body
Parameters
| Field | Type | Required | Description | Validation |
|---|---|---|---|---|
email |
string | Yes | Store's email address | Valid email format |
Response
Success (200 OK)
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)
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