Sales & CRMMu Mutation

deleteInvoice

Topics: Commerce

Delete an invoice. Requires invoice:delete permission.

Returns

DeletePayload!

Arguments

id

InvoiceID!Required

Invoice ID to delete

Exact field SDL
"""Delete an invoice. Requires invoice:delete permission."""
deleteInvoice(
  """Invoice ID to delete"""
  id: InvoiceID!
): DeletePayload! @topic(names: ["commerce"])

Declared on Mutation. Access is checked by the platform for each operation.