Delete invoice

DELETE/api/invoices/{id}

Headers

FieldTypeDescription
authtoken String Authentication token, generated from admin area
curl -X DELETE "https://yoursite.com/api/invoices/123" \
  -H "authtoken: YOUR_API_TOKEN"

Success-Response:

HTTP/1.1 200 OK
{
  "status": true,
  "message": "Invoice Deleted Successfully"
}

Error-Response:

HTTP/1.1 404 Not Found
{
  "status": false,
  "message": "Invoice Delete Fail"
}
MethodDELETE
Path/api/invoices/{id}
GroupInvoices
Sincev0.1.0
Defined inmodules/api/controllers/Invoices.php