Delete an Invoice Property

DELETE https://app.alaaqat.com/api/invoices/properties/{_id}

Where _id is the property's _id. Deletes a property you created. Your API key needs the invoice-property-delete ability, and the team member who created the key needs Delete Custom Field.

Header

{
    "Accept": "application/json"
}

Response

200 OK

{
    "message": "Entity was deleted successfully.",
    "data": []
}

When a property can't be deleted

Status Meaning
403 At least one invoice holds a value for the property. Empty the property on every invoice first, for example with Update an Invoice and null.
404 No property you created has this _id. Built-in properties can't be deleted.