v1

latestOpenAPI 3.0.0Apache 2.02026-07-142008071.1 MB
Invoices

DeleteInvoice

Deletes the specified invoice. When an invoice is deleted, the associated order status changes to CANCELED. You can only delete a draft invoice (you cannot delete a published invoice, including one that is scheduled for processing).

delete/v2/invoices/{invoice_id}

Path parameters

invoice_idstring required

The ID of the invoice to delete.

Query parameters

versioninteger

The version of the invoice to delete. If you do not know the version, you can call GetInvoice or ListInvoices.

Response

Success

Example response

{}