Request a password reset
Sends a password-reset email to the customer’s address.
Returns 200 even if the email is not found, to avoid user enumeration.
Use the 422 response only for missing shop_id.
POST
/customers/reset_passwordAuthorization
AuthorizationBearer token (JWT) · headerrequiredRequest body
requiredapplication/jsonshop_idintegerrequiredemailstringrequiredResponses
200Reset email sent (or silently ignored if not found)
422`shop_id` required
Request
curl -X POST "https://api.onbolder.com/v2/customers/reset_password" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"shop_id": 1,
"email": "jane@example.com"
}'const response = await fetch("https://api.onbolder.com/v2/customers/reset_password", {
method: "POST",
headers: {
"Authorization": "Bearer YOUR_TOKEN",
"Content-Type": "application/json"
},
body: JSON.stringify({
"shop_id": 1,
"email": "jane@example.com"
})
});import requests
response = requests.post(
"https://api.onbolder.com/v2/customers/reset_password",
headers={
"Authorization": "Bearer YOUR_TOKEN",
"Content-Type": "application/json"
},
json={
"shop_id": 1,
"email": "jane@example.com"
},
)Response
{
"message": "If that email is registered, a reset link has been sent."
}`shop_id` required