DELETE Customer Account

​

Deletes the customer's account — the "delete my account" control your app is expected to offer.

It is permanent and cannot be undone. The account, its sessions, its social sign-ins and its saved payment methods all go, and the saved cards are deleted at the payment processor too. Past orders are kept for the brand's records, but the customer's name, email and phone number are scrubbed from them.

Path Parameters

  • Customer Account UUID

Headers

  • Accept header

  • Authorization header

  • Content-Type header

  • API version

  • Application key

  • Unique request identifier

Responses

  • application/json
Request Example for delete/customer-accounts/{customer_account_id}
curl https://api-public-demo.menu.app/api/customer-accounts/f16a8522-662f-4393-a026-0076abea8517 \
  --request DELETE \
  --header 'Accept: application/json' \
  --header 'Authorization: ' \
  --header 'Content-Type: application/json' \
  --header 'API-VERSION: ' \
  --header 'Application: ' \
  --header 'X-Request-ID: c10b4a70-6274-490d-80a0-03e7bb826937'
{
  "status": "OK",
  "code": "200"
}