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.

Autenticação

Envie sua chave de API como bearer token no cabeçalho Authorization.

Veja Autenticação para saber como criar uma chave de API e definir seus escopos.

Parâmetros de rota

orderIdstringobrigatório

The order ID in your own system.

Parâmetros de consulta

projectIdstringobrigatório

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

Resposta

The order was deleted

messagestringobrigatório

A confirmation message.

deletednumberobrigatório

The number of orders deleted.