โ† API reference
Mutation / commerce

deleteInvoice

Delete an invoice. Requires invoice:delete permission.

Arguments

Invoice ID to delete

Returns DeletePayload!

Scalar fields at a glance

successBoolean!
โ†— View the complete DeletePayload type

Explore in a view

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

Schema reference describes the API contract. Actual access is checked by the platform for every operation.