Delete a product from an invoice

Use this API to delete a product from an invoice.

Provide unique identifiers of the invoice as invoice_id and invoice_item_id of the product you want to delete from the invoice and this API will delete that from the invoice.

Note: Comments are either mandatory or optional based on your configuration. If the comments are optional, then pass "comments" as an empty string ("") in the body of the API.

Response Details

NameTypeDescription
successbooleanStatus of the product deletion from the invoice.
messagestringThe message of the API
errorobjectObject containing the error information for the API. Check the error object for more info.

error Object

codemessage
602Cannot access.
602Cannot access.
438User doesn't have the permission to add the appointments.
500Object reference is not set to an instance of an object.
400The request is invalid.
500Invoice not found.
429invoice item passed is not found, invoice item id passed.
Language
Credentials
Header
Click Try It! to start a request and see the response here!