POST Request Password Reset

​

Sends a password reset code to the customer's email address.

Only accounts that use a password can reset one: a guest account, or an account created through social sign-in, is refused.

This is unavailable for brands that use an external identity provider — check GET /brands/{brand_id}/customer-identity-provider-configuration and send the customer to the provider instead.

Headers

  • Type of content accepted by the API (application/json in most cases)

  • Application key for specific client app

  • Content-Type header

  • Version of the API to be used

  • Unique request identifier

Body

required
application/json

Responses

  • application/json
  • No password account exists for that email on this brand, or the account uses social sign-in.

Request Example for post/customers/password/request-reset
curl https://api-public-demo.menu.app/api/customers/password/request-reset \
  --request POST \
  --header 'Accept: application/json' \
  --header 'Application: application-key' \
  --header 'Content-Type: application/json' \
  --header 'API-VERSION: ' \
  --header 'X-Request-ID: c10b4a70-6274-490d-80a0-03e7bb826937' \
  --data '{
  "email": "ada@example.com"
}'
{
  "status": "OK",
  "code": 200,
  "data": {
    "info_message": {
      "title": "Check your email",
      "body": "We have sent a reset code to ada@example.com."
    }
  }
}