post https://secure.fusebill.com/v1/draftInvoices/Cancel/
This request cancels a specified draft invoice.
URL Parameters
Property | Type | Description | Required |
---|---|---|---|
Id | Integer | ID 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."
}
]
}