---
title: "Delete customer profile"
method: POST
path: "/customer-profile-deletes/{id}"
tags: ["Customer"]
---

# Delete customer profile

`POST /customer-profile-deletes/{id}`

## Request

- Base URL: `http://localhost:8000/api/shop`
- URL: `http://localhost:8000/api/shop/customer-profile-deletes/{id}`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/bagisto/apis/bagisto-shop-api/docs/customer-profile-deletes/:id/post.ts> (a function with typed inputs; its response is checked against the schema)

Delete the authenticated customer's account. Requires the Bearer token and the account password, as the storefront does. An account with a pending or processing order cannot be deleted (422).

## Path parameters

- `id` string, required

## Headers

- `X-STOREFRONT-KEY` string, required
- `X-Locale` string
- `X-Channel` string
- `X-Currency` string

## Request body

- object
  - `password` string, required

## Response `201`

Customer account deleted

## Other responses

- `400`: Invalid input
- `422`: Validation Error

## Changes

- **2026-10-28** `b84d43839844`: 2 breaking
  - added the new required request property `password`
  - request body became required

[Operation history](https://skmtc.dev/bagisto/apis/bagisto-shop-api/changes/customer-profile-deletes/:id/post.md)

---

[API](https://skmtc.dev/bagisto/apis/bagisto-shop-api.md) - [All operations](https://skmtc.dev/bagisto/apis/bagisto-shop-api/llms.txt) - [OpenAPI document](https://skmtc.dev/bagisto/apis/bagisto-shop-api/revisions/f619df36bf29?raw)
