---
title: "Delete orders"
method: DELETE
path: "/api/v1/orders"
tags: ["Orders"]
---

# Delete orders

`DELETE /api/v1/orders`

## Request

- Base URL: `https://yespo.io` (the document declares no server; this is the origin it was published from)
- URL: `https://yespo.io/api/v1/orders`
- Auth: HTTP basic

This endpoint schedules an asynchronous order deletion job.<br/>Supported deletion criteria:<br/>• externalOrderId (deletes the order with the specified externalOrderId), or<br/>• from and to (deletes orders whose occurrence timestamp falls within the specified period).

## Query parameters

- `externalOrderId` string
- `from` string
- `to` string

## Response `200`

Request parameters are valid and the deletion job is accepted for processing

## Other responses

- `400`: Bad request

---

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