---
title: "Delete a customer (soft delete; subscriptions are not cancelled)"
method: DELETE
path: "/api/v1/customers/{id}"
tags: ["Customers"]
---

# Delete a customer (soft delete; subscriptions are not cancelled)

`DELETE /api/v1/customers/{id}`

## Request

- Base URL: `https://merchant.zahlo.eu`
- URL: `https://merchant.zahlo.eu/api/v1/customers/{id}`
- Auth: API key in header `x-api-key`

Delete a customer (soft delete; subscriptions are not cancelled). Use the response status and request ID to decide whether to retry, reconcile, or ask the customer for action.

## Path parameters

- `id` string, required

## Headers

- `Idempotency-Key` string

## Response `200`

Successful response

- DeletedCustomer
  - `id` string, required
  - `object` 'customer', required
  - `deleted` true, required

## Other responses

- `400`: Invalid request
- `401`: Authentication failed
- `404`: Resource not found
- `409`: Request conflicts with existing state

---

[API](https://skmtc.dev/zahlo/apis/zahlo-merchant-api.md) - [All operations](https://skmtc.dev/zahlo/apis/zahlo-merchant-api/llms.txt) - [OpenAPI document](https://skmtc.dev/zahlo/apis/zahlo-merchant-api/revisions/8fcbef981e0d?raw)
