API Documentation - Delete Order Line

Endpoint

POST /orderline/delete

Parameters

The following parameters can be included in the request:

Parameter Type Description Required
guid string The GUID of the order line 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 line"
    }
}

Error Handling

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

{
    "success": "false",
    "message": "Error description",
    "result": {
        "guid": "GUID of the order line"
    }
}

Example Request

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

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

Example Response

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