← API reference
Mutation / commerce

updateInvoice

Update an existing invoice. Requires invoice:write permission.

Arguments

Invoice ID to update

Invoice fields to update (patch semantics)

Returns UpsertInvoicePayload!

Explore in a view

Order Intake
View exact SDL
"""Update an existing invoice. Requires invoice:write permission."""
updateInvoice(
  """Invoice ID to update"""
  id: InvoiceID!
  """Invoice fields to update (patch semantics)"""
  input: UpdateInvoiceInput!
): UpsertInvoicePayload! @topic(names: ["commerce"])

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