const url = 'https://api.sureshake.com/v2/reports/<id>/attributes';
const options = {
method: 'PUT',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({attributes: [{traitType: 'string', value: 'string', isAutoExtracted: false}]})
};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error(err));