const url = 'https://api.sureshake.com/v2/entities/<id>/images';
const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({type: 'logo', imageData: 'string', contentType: 'string'})
};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error(err));