Sales & CRMMu Mutation

updateInvoice

Topics: Commerce

Update an existing invoice. Requires invoice:write permission.

Returns

UpsertInvoicePayload!

Arguments

id

InvoiceID!Required

Invoice ID to update

Invoice fields to update (patch semantics)

Exact field 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"])

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