Skip to main content
DELETE

Path Parameters

string
required
The unique identifier of the order to delete

Query Parameters

boolean
Force deletion even if there are related records (requires admin permission)
boolean
Archive the order instead of deleting it (recommended for audit trail)

Response

string
The ID of the deleted order
boolean
Indicates whether the order was successfully deleted
boolean
Indicates if the order was archived instead of deleted
Summary of related records affected
string
Timestamp when the order was deleted
string
User who deleted the order

Error Responses

object
Error object containing details about what went wrong