---
title: "Deletes an order"
method: DELETE
path: "/admin/orders/{order_id:(?:\\\\d+)}.json"
tags: ["Order"]
---

# Deletes an order

`DELETE /admin/orders/{order_id:(?:\\d+)}.json`

## Request

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

Deletes an order

## Path parameters

- `order_id` number, required

## 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)
