Delete an order

delete
https://api.clakta.com/v1/orders/{orderId}

Permanently delete an order and its line items. `orderId` is your own order ID — the value sent as `orderId` when the order was created. Because a `DELETE` carries no body, the owning project is passed as the `projectId` query parameter.

Authentication

Send your API key as a bearer token in the Authorization header.

See Authentication for how to create and scope an API key.

Path parameters

orderIdstringrequired

The order ID in your own system.

Query parameters

projectIdstringrequired

The project ID (e.g. proj_xxx) or slug that owns the order.

Response

The order was deleted

messagestringrequired

A confirmation message.

deletednumberrequired

The number of orders deleted.