This document is generated by Apidog. Apidog: All-in-one workspace for API design, document, debug, test, mock
This document is generated by Apidog. Apidog: All-in-one workspace for API design, document, debug, test, mock
Parameter | Type | Description |
---|---|---|
id | integer | Invoice ID to delete |
{
"code": 200,
"result": "successful"
}
{
"result": "failed",
"code": 400,
"message": "Can't delete item. Remove its transactions first."
}
{
"result": "failed",
"code": 404,
"message": "Item not found"
}
curl --location -g --request DELETE '{{subdomain}}/api2/api2/invoices/{{id}}.json' \
--header 'Authorization: Bearer {{token}}'
{}