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.

delete/v1/invoices/{invoice_id}/invoiceitems/{invoice_item_id}

Request

Path parameters

invoice_idstring required

Mandatory Unique 32-character identifier of the invoice from which you want to delete a product.

invoice_item_idstring required

Mandatory Unique 32-character identifier of the invoice item or product that you want to delete from the invoice.

Request body

commentsstring

Comments from guest.

Response

200

successboolean
messagestring
errorunknown

Example response

{
  "success": true,
  "message": "null"
}

Changes

No recorded changes to this operation across all 1 revision of this API.