> ## Documentation Index
> Fetch the complete documentation index at: https://docs.brand-wallet.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete a customer

> Soft-delete a BrandWallet customer and disable their active coupons.

```http theme={null}
DELETE $BASE_URL/v1/customers/:id
```

**Soft-deletes the customer: the record is marked as deleted, their active coupons are disabled, and they disappear from list, find, and transaction flows.**

> **Auth:** `Authorization: Bearer <accessToken>` — an organization-scoped token from [Authentication](/api/authentication). Missing or invalid token returns **401**. Deletion works even without an active subscription — data removal is always possible.

### Path parameters

| Parameter | Type | Description |
| - | - | - |
| `id` | string | Customer id. Unknown or out-of-organization ids return `customer_not_found` (400). |

### Example

```bash theme={null}
curl --request DELETE \
  --url "$BASE_URL/v1/customers/9b2f6c1e-3d4a-4f8b-9c0d-7e5a1b2c3d4e" \
  --header 'Authorization: Bearer <accessToken>'
```

### Response

Returns **200** with the deleted customer record (`status` reflects the deleted state).

```json theme={null}
{
  "id": "9b2f6c1e-3d4a-4f8b-9c0d-7e5a1b2c3d4e",
  "data": {
    "phone": "+905551234567",
    "fullname": "Jane Smith"
  },
  "opaqueId": "ext-cust-10432",
  "status": -99,
  "createdAt": "2026-09-29T08:22:52.795Z",
  "updatedAt": "2026-09-29T11:02:14.320Z"
}
```

Notes:

* Deletion frees the customer's `email`, `phone`, and `opaqueId` for reuse — uniqueness checks ignore deleted customers.
* A deleted customer cannot be updated, registered, or found; recreate them with [Create](/api/create-customer) or [Register](/api/register-customer) if needed.
