Update an existing note on a dispute
Updating notes on a dispute
You can also update a note you have posted. You need to input the note id from the response provided when adding a note
const request = require('request');
const options = {
method: 'PUT',
url: 'https://prod.emea.api.fiservapps.com/sandbox/exp/v1/disputes/20220602835125/notes/20220721948337',
headers: {
accept: 'application/json',
'content-type': 'application/json',
'Api-Key': 'Z4tEl9GjbL0IRvMUIfFW5UlJPNF9pcmk'
},
body: {tcn: '-1662613832', content: 'UPDATING - Oh what a lovely note!'},
json: true
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
{
"id": "37044081281",
"content": "UPDATING - Oh what a lovely note!",
"createdBy": "My Application Name",
"created": "2022-09-21T16:08:33.769Z",
"updated": "2022-09-21T16:08:33.769Z"
}
Updated 11 months ago