creditNoteDelete

Graphql fields and variables for the creditNoteDelete mutation

Delete a credit note

Scope required: billing:write

mutation creditNoteDelete ($id: ID!) {
  creditNoteDelete (id: $id) {
      creditNote {
        accountId
        amount
        amountApplied
        amountUnapplied
        createdAt
        creditedInvoiceId
        currencyId
        description
        disputeReasonId
        entityId
        id
        isCredit
        isLegacy
        issuedAt
        number
        subtotal
        taxAmount
        updatedAt
        uuid
        warrenId
      }
      errors
  }
}

Arguments

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

id

ID

Response

Name
Type
Description

creditNote

errors

List (String)

Last updated

Was this helpful?