Delete Document Line API
This API endpoint allows you to delete a specific line from a document.
Endpoint
GET /documentline/delete
Parameters
Name | Type | Required | Description |
---|---|---|---|
guid | string | Yes | The GUID of the invoice. |
line_guid | string | Yes | The GUID of the document line to delete. |
doc_type | string | Yes | The type of the document (e.g., invoice, estimate, purchase_order). |
Response
Field | Type | Description |
---|---|---|
success | boolean | Indicates whether the deletion was successful. |
message | string | A message describing the result of the operation. |
Example Request
GET /documentline/delete?guid=example-guid&line_guid=example-line-guid&doc_type=invoice
Example Response
{
"success": true,
"message": "Document line deleted successfully"
}