creditNoteUpdate
Graphql fields and variables for the creditNoteUpdate mutation
Update a credit note
Scope required: billing:write
For a complete list of input attributes see the CreditNoteAttributes type
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
}
}
Arguments
{
"id": "456123",
"attributes": {
"disputeReasonId": "456123",
"creditNoteItems": [
{
"id": "456123",
"amount": "1.00"
}
],
"kind": "CreditNoteKind"
}
}
Name
Type
Description
id
ID
Response
Name
Type
Description
errors
List (String)
Last updated
Was this helpful?