invoiceRequestDelete Mutation
Requests deletion of an invoice.
Triggers the following webhook events:
- INVOICE_DELETED (async): An invoice was requested to delete.
Applied directives
@webhookEventsInfo(asyncEvents: [INVOICE_DELETED], syncEvents: [])
invoiceRequestDelete(id: ID!): InvoiceRequestDelete
Returns
Show return type
type InvoiceRequestDelete {
invoiceErrors: [InvoiceError!]! @deprecated(reason: "Use `errors` field instead.")
errors: [InvoiceError!]!
invoice: Invoice
}Arguments
id
id · ID!
ID of an invoice to request the deletion.
Schema: Saleor 3.23.43. Download SDL.