mutation creditNoteUpdate ($id: ID!, $attributes: CreditNoteAttributes!) {
creditNoteUpdate (id: $id, attributes: $attributes) {
creditNote {
accountId
amount
amountApplied
amountUnapplied
createdAt
creditedInvoiceId
currencyId
description
disputeReasonId
entityId
id
isCredit
isLegacy
issuedAt
number
subtotal
taxAmount
updatedAt
uuid
warrenId
}
errors
}
}
{
"id": "456123",
"attributes": {
"disputeReasonId": "456123",
"creditNoteItems": [
{
"id": "456123",
"amount": "1.00"
}
],
"kind": "CreditNoteKind"
}
}