Archiving an invoice removes it from default listings without permanently deleting it. Use this to keep your active invoice list clean while retaining historical records. Archived invoices can still be retrieved by passing showArchived=true when listing invoices.
Archiving an invoice is not the same as deleting it. The invoice and its associated transaction history remain accessible. If you need to permanently remove an invoice, use the delete endpoint instead.
Path parameters
The UUID of the merchant account that owns the invoice.
The UUID of the invoice to archive.
Response
Returns 204 No Content on success. No response body is returned.