LettrLabs API
API ReferenceOrders

Deletes an order that is in draft or edits needs status

Deletes an order that is in draft or edits needs status

DELETE
/v1/order/{id}

Deletes an order that is in draft or edits needs status

X-API-KEY<token>

In: header

Path Parameters

id*integer

The Id of the order to delete.

Response Body

application/json

application/json

application/json

application/json

curl -X DELETE "https://example.com/v1/order/0"
{  "payload": {    "orderId": 0,    "status": "string"  },  "errors": [    "string"  ],  "errorDetails": [    null  ],  "warnings": [    "string"  ],  "hasErrors": true,  "hasWarnings": true}
{  "payload": {    "orderId": 0,    "status": "string"  },  "errors": [    "string"  ],  "errorDetails": [    null  ],  "warnings": [    "string"  ],  "hasErrors": true,  "hasWarnings": true}
{  "payload": {    "orderId": 0,    "status": "string"  },  "errors": [    "string"  ],  "errorDetails": [    null  ],  "warnings": [    "string"  ],  "hasErrors": true,  "hasWarnings": true}
{  "payload": {    "orderId": 0,    "status": "string"  },  "errors": [    "string"  ],  "errorDetails": [    null  ],  "warnings": [    "string"  ],  "hasErrors": true,  "hasWarnings": true}