invoiceUpdateComment

Graphql fields and variables for the invoiceUpdateComment mutation

Add, update, or remove a comment on an invoice item

Scope required: billing:write

mutation invoiceUpdateComment ($id: ID!, $comment: String!) {
  invoiceUpdateComment (id: $id, comment: $comment) {
      errors
      invoiceItem {
        amount
        chargeType
        comment
        couponId
        currencyId
        discount
        id
        invoiceId
        isCoupon
        isCredit
        lineText
        position
        price
        priceDecimals
        prorationRate
        quantity
        subtotal
        taxAmount
        taxCode
        vatCode
      }
  }
}

Arguments

{
  "id": "456123",
  "comment": ""
}
Name
Type
Description

id

ID

comment

String

Response

Name
Type
Description

errors

List (String)

invoiceItem

Last updated

Was this helpful?