Cancel Draft Invoice

This request cancels a specified draft invoice.

URL Parameters

PropertyTypeDescriptionRequired
IdIntegerID that uniquely identifies the draft invoice to be cancelled.Yes

Request Parameters

Examples
curl –X POST https://secure.fusebill.com/v1/draftInvoices/Cancel/{Id}\ 
-H "Content-Type: application/json" \ 
-H "Authorization: Basic {APIKey}" \ 
-d "{}"
Response
Upon success this call returns 204 No Content
{}
{
    "ErrorId": 0,
    "HttpStatusCode": 404,
    "Errors": [
        {
            "Key": "Api Error",
            "Value": "Draft Invoice with id 2 not found."
        }
    ]
}
Language
Authorization