← API reference
Mutation / commerce

updateInvoiceLine

Update an invoice line. Only provided fields are changed. Requires invoice:write permission.

Arguments

Invoice line ID to update

Fields to update — only provided fields are changed

Returns UpsertInvoiceLinePayload!

Explore in a view

Order Intake
View exact SDL
"""
Update an invoice line. Only provided fields are changed. Requires invoice:write permission.
"""
updateInvoiceLine(
  """Invoice line ID to update"""
  id: InvoiceLineID!
  """Fields to update — only provided fields are changed"""
  input: UpdateInvoiceLineInput!
): UpsertInvoiceLinePayload! @topic(names: ["commerce"])

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