invoiceUpdateComment

Add, update, or remove a comment on an invoice item. The invoiceUpdateComment mutation in Bunny's GraphQL API, with its input attributes, return type and an example request.

Scope required: billing:write

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

ArgumentsLink to Arguments section

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

ResponseLink to Response section

Name Type Description
errors List (String)  
invoiceItem InvoiceItem