---
title: "DELETE /api/cascade-tracing/orders/purchases/{id}"
method: DELETE
path: "/api/cascade-tracing/orders/purchases/{id}"
tags: ["Order Tracing - Purchase Orders"]
---

# DELETE /api/cascade-tracing/orders/purchases/{id}

`DELETE /api/cascade-tracing/orders/purchases/{id}`

## Request

- Base URL: `https://api.retraced.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.retraced.com/api/cascade-tracing/orders/purchases/{id}`
- Auth: none declared

Removes one of the purchase orders the caller's company created, with its tracing order and the sales order on the other side: both orders and the tracing order are marked removed, the order's tracing link and the links it was reflected onto are disconnected, and their shadow Order Hub orders are deleted. 404 `not_found` when the order is missing or removed, or the caller is not on its trace; 400 `unable_to_delete` when another company created it or it has no tracing link. The partners' views are refreshed in the background.

## Path parameters

- `id` string, required

## Response `204`

No content

- 'null', nullable: No content

## Other responses

- `400`: Default Response
- `401`: Default Response
- `403`: Default Response
- `404`: Default Response

## Changes

> 108 revisions in range; 2 not diffed.

- **2026-10-09** `ddfec192e804`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/retraced/apis/api-reference/changes/api/cascade-tracing/orders/purchases/:id/delete.md)

---

[API](https://skmtc.dev/retraced/apis/api-reference.md) - [All operations](https://skmtc.dev/retraced/apis/api-reference/llms.txt) - [OpenAPI document](https://skmtc.dev/retraced/apis/api-reference/revisions/83309c4abd20?raw)
