Skip to main content

invoiceRequestDelete Mutation

Requests deletion of an invoice.

Requires the MANAGE_ORDERSpermission.

Triggers the following webhook events:

  • INVOICE_DELETED (async): An invoice was requested to delete.
invoiceRequestDelete(
id: ID!
): InvoiceRequestDelete
Details
type InvoiceRequestDelete {
invoiceErrors: [InvoiceError!]! @deprecated
errors: [InvoiceError!]!
invoice: Invoice
}

Arguments

id ● ID!

ID of an invoice to request the deletion.

Type

InvoiceRequestDelete

Requests deletion of an invoice.

Requires the MANAGE_ORDERSpermission.

Triggers the following webhook events:

  • INVOICE_DELETED (async): An invoice was requested to delete.