API Documentation - Delete Order

Endpoint

POST /order/delete

Parameters

The following parameter must be included in the request:

Parameter Type Description Required
guid string The GUID of the order to delete Yes

Response

The response is a JSON object containing the following fields:

{
    "success": "true or false",
    "message": "Description of the response",
    "result": {
        "guid": "GUID of the order"
    }
}

Error Handling

If an error occurs, the response will contain the following fields:

{
    "success": "false",
    "message": "Error description"
}

Example Request

POST /order/delete
Content-Type: application/json

{
    "guid": "unique-guid-12345"
}

Example Response

{
    "success": true,
    "message": "Order deleted",
    "result": {
        "guid": "unique-guid-12345"
    }
}