v1

latestOpenAPI 3.1.02026-07-2422707.0 MB

Delete a membership from an invoice

Provide a unique identifier of the invoice as invoice_id and invoice_item_id of the membership you want to delete from the invoice and this API will delete that item 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.

Ensure to remove the hash (#) at the end when using this API.

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

Path parameters

invoice_idstring required

Unique identifier of the invoice.

invoice_item_idstring required

Unique identifier of the item added in the invoice.

Request body

commentsstring

Comments from guest.

Response

200

successboolean
messagestring
{"stackTrail":"paths:/v1/invoices/{invoice_id}/invoiceitems/{invoice_item_id}#:delete:responses:200:content:application/json:schema:properties:error","oasType":"schema","type":"unknown"}

Example response

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