updateCreditNote
Change the internal note of a credit note, which only admins see. It is the only field of a credit note that can change, on an issued or a voided one. Returns the credit note read after the update. Get creditNoteId from getCreditNotes. Never invent UUIDs; only use values from prior tool responses.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"creditNoteId": "<creditNoteId>"
},
"name": "updateCreditNote"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| creditNote | No | Credit note fields to update. | |
| creditNoteId | Yes | The id of the credit note. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| creditNote | Yes |