creditNoteDelete
Delete a credit note. The creditNoteDelete mutation in Bunny's GraphQL API, with its input attributes, return type and an example request.
Scope required: billing:write
mutation creditNoteDelete ($id: ID!) {
creditNoteDelete (id: $id) {
creditNote {
accountId
amount
amountApplied
amountUnapplied
createdAt
creditedInvoiceId
currencyId
description
disputeId
disputeReasonId
entityId
id
isCredit
isLegacy
issuedAt
number
subtotal
taxAmount
updatedAt
uuid
warrenId
}
errors
}
}
ArgumentsLink to Arguments section
{
"id": "456123"
}
| Name | Type | Description |
|---|---|---|
| id | ID |
ResponseLink to Response section
| Name | Type | Description |
|---|---|---|
| creditNote | CreditNote | |
| errors | List (String) |