---
title: "Remove an existing customer"
method: DELETE
path: "/admin/customers/{id:\\\\d+}.json"
tags: ["Customer"]
---

# Remove an existing customer

`DELETE /admin/customers/{id:\\d+}.json`

## Request

- Base URL: `https://shop-name.onshopbase.com`
- URL: `https://shop-name.onshopbase.com/admin/customers/{id:\\d+}.json`
- Auth: API key in header `APP_ACCESS_TOKEN`
- TypeScript: <https://skmtc.dev/shopbase/apis/shopbase-internal-api/docs/admin/customers/:id:%5C%5Cd+.json/delete.ts> (a function with typed inputs; its response is checked against the schema)

Deletes a customer. A customer can't be deleted if they have existing orders.

## Response `200`

OK

- ModelsSwaggerDeleteResponse

---

[API](https://skmtc.dev/shopbase/apis/shopbase-internal-api.md) - [All operations](https://skmtc.dev/shopbase/apis/shopbase-internal-api/llms.txt) - [OpenAPI document](https://skmtc.dev/shopbase/apis/shopbase-internal-api/revisions/353ccde6240d?raw)
